summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-05 19:48:40 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-05 19:48:40 +0300
commitbfa7b90207d3671c6e98129be9ce82b1fbe5b419 (patch)
tree22198ed99b91d86885042b98b9da0db6a4504b3a /src/utils
parent7cf5cb58865bc5f3951a6f4e40cf892ede96fc5a (diff)
downloadplus-bfa7b90207d3671c6e98129be9ce82b1fbe5b419.tar.gz
plus-bfa7b90207d3671c6e98129be9ce82b1fbe5b419.tar.bz2
plus-bfa7b90207d3671c6e98129be9ce82b1fbe5b419.tar.xz
plus-bfa7b90207d3671c6e98129be9ce82b1fbe5b419.zip
Fix test result if impossible start test.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/process.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/process.cpp b/src/utils/process.cpp
index a54fbbde3..45fdd51c6 100644
--- a/src/utils/process.cpp
+++ b/src/utils/process.cpp
@@ -26,10 +26,10 @@
#include <stdlib.h>
-#include "debug.h"
-
#include "localconsts.h"
+#include "debug.h"
+
const int timeOut = 10;
#ifdef WIN32
@@ -118,7 +118,7 @@ int execFile(std::string pathName, std::string name,
execl(pathName.c_str(), name.c_str(),
arg1.c_str(), arg2.c_str(), (char *)nullptr);
}
- exit(0);
+ exit(-1);
}
// monitoring process