summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IcePatch/Client.cpp1
-rw-r--r--cpp/src/IcePatch/Server.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/IcePatch/Client.cpp b/cpp/src/IcePatch/Client.cpp
index 43570c9be58..3e08de9dee6 100644
--- a/cpp/src/IcePatch/Client.cpp
+++ b/cpp/src/IcePatch/Client.cpp
@@ -168,6 +168,7 @@ IcePatch::Client::run(int argc, char* argv[])
#endif
{
cerr << appName() << ": cannot change to directory `" << directory << "': " << strerror(errno) << endl;
+ return EXIT_FAILURE;
}
}
diff --git a/cpp/src/IcePatch/Server.cpp b/cpp/src/IcePatch/Server.cpp
index 9b27b943d2e..37f077a93d0 100644
--- a/cpp/src/IcePatch/Server.cpp
+++ b/cpp/src/IcePatch/Server.cpp
@@ -113,6 +113,7 @@ IcePatch::Server::run(int argc, char* argv[])
#endif
{
cerr << appName() << ": cannot change to directory `" << directory << "': " << strerror(errno) << endl;
+ return EXIT_FAILURE;
}
}