diff options
-rw-r--r-- | sctrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -286,7 +286,7 @@ main(int argc, char **argv) if (WIFSIGNALED(exit_code)) { exit_code = WTERMSIG(exit_code); raise(exit_code); - exit_code += 128; + return exit_code + 128; } - return exit_code; + return WEXITSTATUS(exit_code); } |