Index: components/nacl/loader/nonsfi/irt_exception_handling.cc |
diff --git a/components/nacl/loader/nonsfi/irt_exception_handling.cc b/components/nacl/loader/nonsfi/irt_exception_handling.cc |
index 327f6a40e598dfcb69e99f791bd822d103df09e6..ebbeaa0e86056a758db684127283b9da687d370c 100644 |
--- a/components/nacl/loader/nonsfi/irt_exception_handling.cc |
+++ b/components/nacl/loader/nonsfi/irt_exception_handling.cc |
@@ -49,7 +49,7 @@ void SignalCatch(int sig, siginfo_t* info, void* uc) { |
not useful for NonSFI NaCl. */); |
signal_handler_function_pointer(&exception_frame.context); |
} |
- _exit(-1); |
+ _exit(-sig); |
} |
int IrtExceptionHandler(NaClExceptionHandler handler, |