]> git.lizzy.rs Git - nothing.git/commitdiff
(#1180) return -> exit 1
authorgooddoog <gooddoog@student.su>
Thu, 5 Dec 2019 21:26:57 +0000 (00:26 +0300)
committergooddoog <gooddoog@student.su>
Thu, 5 Dec 2019 21:26:57 +0000 (00:26 +0300)
build-posix.sh

index 6653a46dd75dda5ab622985727aa25d9d570a85c..ee876fcd0de1eb0bc8d9fc83a64213cedd9fff3d 100755 (executable)
@@ -12,7 +12,7 @@ LIBS="$LIBS $(pkg-config --libs sdl2) -lm"
 
 if [ ${#CC} -eq "0" ]; then
     echo "CC variable is not set up!"
-    return
+    exit 1
 fi
 
 $CC $CFLAGS -o nothing nothing.c $LIBS