summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IcePack/IcePackNode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IcePack/IcePackNode.cpp b/cpp/src/IcePack/IcePackNode.cpp
index 0ef1bdb3e6d..81c3c337988 100644
--- a/cpp/src/IcePack/IcePackNode.cpp
+++ b/cpp/src/IcePack/IcePackNode.cpp
@@ -243,14 +243,14 @@ IcePack::NodeService::start(int argc, char* argv[])
if(::_stat(dataPath.c_str(), &filestat) != 0 || !S_ISDIR(filestat.st_mode))
{
error("property `IcePack.Node.Data' is not set to a valid directory path");
- return EXIT_FAILURE;
+ return false;
}
#else
struct stat filestat;
if(::stat(dataPath.c_str(), &filestat) != 0 || !S_ISDIR(filestat.st_mode))
{
error("property `IcePack.Node.Data' is not set to a valid directory path");
- return EXIT_FAILURE;
+ return false;
}
#endif