mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 10:32:56 +01:00
integrated changes from 1.3.6
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// ServerApplication.cpp
|
||||
//
|
||||
// $Id: //poco/Main/Util/src/ServerApplication.cpp#28 $
|
||||
// $Id: //poco/Main/Util/src/ServerApplication.cpp#29 $
|
||||
//
|
||||
// Library: Util
|
||||
// Package: Application
|
||||
@@ -423,7 +423,8 @@ int ServerApplication::run(int argc, char** argv)
|
||||
init(argc, argv);
|
||||
if (runAsDaemon)
|
||||
{
|
||||
chdir("/");
|
||||
int rc = chdir("/");
|
||||
if (rc != 0) return EXIT_OSERR;
|
||||
}
|
||||
}
|
||||
catch (Exception& exc)
|
||||
|
||||
Reference in New Issue
Block a user