From dfd9d76636a32a6ddf3b125e102a64965455fad4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Fri, 27 Mar 2015 20:28:59 -0400 Subject: [PATCH] lib: fix return value of the system method MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- lib/standard/exec_nit.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 1.7.9.5