summaryrefslogtreecommitdiff
path: root/setup/execute.c
diff options
context:
space:
mode:
Diffstat (limited to 'setup/execute.c')
-rw-r--r--setup/execute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup/execute.c b/setup/execute.c
index 59f561be..8e753f60 100644
--- a/setup/execute.c
+++ b/setup/execute.c
@@ -312,7 +312,7 @@ static int ExecuteCommand(const char *program, const char *arg)
execvp(argv[0], (char **) argv);
- exit(-1);
+ exit(0x80);
}
else
{
@@ -321,7 +321,7 @@ static int ExecuteCommand(const char *program, const char *arg)
waitpid(childpid, &result, 0);
- if (WIFEXITED(result))
+ if (WIFEXITED(result) && WEXITSTATUS(result) != 0x80)
{
return WEXITSTATUS(result);
}