diff options
author | Andrew A. de Laix <alain@lindenlab.com> | 2010-12-10 15:41:14 -0800 |
---|---|---|
committer | Andrew A. de Laix <alain@lindenlab.com> | 2010-12-10 15:41:14 -0800 |
commit | 8ab943f470552dd9469d6025bcd359a67ad5513e (patch) | |
tree | d7daf3da42b5d5acc507c2b51685c94ce200c84e /indra/llcommon | |
parent | ef27fe3c93fe693c4d326e18609c2e437a93e538 (diff) |
fix working directory in install script and remove dependency on open option --args which is 10.6 only. Also fix erroneous check in process launcher which was mistakenly reporting a failed execution of the new updater script.
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llprocesslauncher.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/indra/llcommon/llprocesslauncher.cpp b/indra/llcommon/llprocesslauncher.cpp index 81e5f8820d..4b0f6b0251 100644 --- a/indra/llcommon/llprocesslauncher.cpp +++ b/indra/llcommon/llprocesslauncher.cpp @@ -265,14 +265,7 @@ int LLProcessLauncher::launch(void) delete[] fake_argv; mProcessID = id; - - // At this point, the child process will have been created (since that's how vfork works -- the child borrowed our execution context until it forked) - // If the process doesn't exist at this point, the exec failed. - if(!isRunning()) - { - result = -1; - } - + return result; } |