summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-06-06 12:23:01 +0200
committerMitya Selivanov <automainint@guattari.tech>2024-06-06 12:23:01 +0200
commit8bf732bb6498d9c35c4976ac65ce63c94c51d7ab (patch)
treea58e7c57e90813525bdb3847ba23c7a4d5be7b5a
parent044193ab578404f93bf81d9e399759eeb870cafc (diff)
downloadkit-8bf732bb6498d9c35c4976ac65ce63c94c51d7ab.zip
[build] return exit status
-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>