diff options
author | Michi Henning <michi@zeroc.com> | 2005-01-13 07:45:15 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2005-01-13 07:45:15 +0000 |
commit | 8bad22ff021f5865cac5b7b98627cc0f851de267 (patch) | |
tree | 753f71c6e8a0dd19aec1babe95166293cb51f044 /cpp/src/Ice/Service.cpp | |
parent | Fixed typo in UNIX-specific part of code. (diff) | |
download | ice-8bad22ff021f5865cac5b7b98627cc0f851de267.tar.bz2 ice-8bad22ff021f5865cac5b7b98627cc0f851de267.tar.xz ice-8bad22ff021f5865cac5b7b98627cc0f851de267.zip |
Added UNIX-specific part for Logger::print() operation. Fixed bug in
UNIX-specific code of icepatch2server. Removed check to see whether
--nochdir is used only when --daemon is set in Ice::Service, so we can
force --nochdir for icepatch2server.
Diffstat (limited to 'cpp/src/Ice/Service.cpp')
-rwxr-xr-x | cpp/src/Ice/Service.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cpp/src/Ice/Service.cpp b/cpp/src/Ice/Service.cpp index d145d73df91..5cc681d11c0 100755 --- a/cpp/src/Ice/Service.cpp +++ b/cpp/src/Ice/Service.cpp @@ -348,12 +348,6 @@ Ice::Service::main(int& argc, char* argv[]) return EXIT_FAILURE; } - if(!changeDirectory && !daemonize) - { - cerr << argv[0] << ": --nochdir must be used with --daemon" << endl; - return EXIT_FAILURE; - } - if(daemonize) { configureDaemon(changeDirectory, closeFiles); |