From 350b3a4029d2850aa3057f25566abf8a589f487f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 11 Aug 2012 18:39:34 +0300 Subject: Enable best mode autodetection for linux. --- src/utils/process.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/utils') diff --git a/src/utils/process.cpp b/src/utils/process.cpp index 3a742b313..620cb3b93 100644 --- a/src/utils/process.cpp +++ b/src/utils/process.cpp @@ -171,6 +171,7 @@ int execFileWait(std::string pathName, std::string name, { // sleep pid sleep (waitTime); // printf ("time out\n"); + execl("/bin/true", "/bin/true", static_cast(nullptr)); exit(-1); } @@ -189,6 +190,7 @@ int execFileWait(std::string pathName, std::string name, ret = -1; } wait(nullptr); + execl("/bin/true", "/bin/true", static_cast(nullptr)); exit(ret); } -- cgit v1.2.3-70-g09d2