summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.c b/build.c
index c49a446..a100596 100755
--- a/build.c
+++ b/build.c
@@ -2,7 +2,7 @@
SRC=${0##*/}
BIN=${SRC%.*}
gcc -o $BIN.tmp $SRC && ./$BIN.tmp $@ && rm $BIN.tmp
-exit 0
+exit $?
#endif
#include <stdio.h>