From ce2d87afd71d2b7abe86bc53fab2477df6c7744a Mon Sep 17 00:00:00 2001 From: Chris Frey Date: Mon, 30 Apr 2012 02:55:01 -0400 Subject: [PATCH] desktop: use 255 explicitly for exechelper's failure code ExecHelper's exec() failure happens in the child, of course, and so it is our own return code that gets passed back to the app if there is a problem, such as a permissions issue. Use 255 explicitly, instead of implicitly. --- desktop/src/exechelper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/src/exechelper.cc b/desktop/src/exechelper.cc index 1c0374a5..b1d18f60 100644 --- a/desktop/src/exechelper.cc +++ b/desktop/src/exechelper.cc @@ -139,7 +139,7 @@ int ExecHelper::Execute(bool use_wx, } cerr << endl; - exit(-1); + exit(255); } else { // we are the parent... start the wait thread -- 2.11.4.GIT