From: Mikko Rasa Date: Wed, 30 May 2012 19:23:20 +0000 (+0000) Subject: Use a unique exit_code value to indicate fork failure X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=afd944a9a8b9d727326cdc4d3b7122384a8d9b5d;p=builder.git Use a unique exit_code value to indicate fork failure --- diff --git a/source/externaltask.cpp b/source/externaltask.cpp index f24774e..6ff6a3e 100644 --- a/source/externaltask.cpp +++ b/source/externaltask.cpp @@ -39,7 +39,7 @@ void ExternalTask::start() if((pid = fork())) { if(pid==-1) - exit_code = 1; + exit_code = 1026; else exit_code = 0; }