From: Alexis Laferrière Date: Sat, 28 Mar 2015 00:28:59 +0000 (-0400) Subject: lib: fix return value of the system method X-Git-Tag: v0.7.3~7^2~1 X-Git-Url: http://nitlanguage.org lib: fix return value of the system method Signed-off-by: Alexis Laferrière --- diff --git a/lib/standard/exec_nit.c b/lib/standard/exec_nit.c index 5b5ffbb..93f5f9b 100644 --- a/lib/standard/exec_nit.c +++ b/lib/standard/exec_nit.c @@ -149,4 +149,5 @@ int string_NativeString_NativeString_system_0(const char *cmd) { // cmd exited on SIGINT: in my opinion the user wants the main to be discontinued kill(getpid(), SIGINT); } + return status; }