lib: fix return value of the system method
authorAlexis Laferrière <alexis.laf@xymus.net>
Sat, 28 Mar 2015 00:28:59 +0000 (20:28 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Sat, 28 Mar 2015 00:31:16 +0000 (20:31 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/standard/exec_nit.c

index 5b5ffbb..93f5f9b 100644 (file)
@@ -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;
 }