nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
89cf332
)
lib: fix return value of the system method
author
Alexis Laferrière
<alexis.laf@xymus.net>
Sat, 28 Mar 2015 00:28:59 +0000
(20:28 -0400)
committer
Alexis 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
patch
|
blob
|
history
diff --git
a/lib/standard/exec_nit.c
b/lib/standard/exec_nit.c
index
5b5ffbb
..
93f5f9b
100644
(file)
--- 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;
}