diff --git a/run.sh b/run.sh index 77dc1d661..e4004c120 100755 --- a/run.sh +++ b/run.sh @@ -1,4 +1,9 @@ #!/bin/env sh + +# make the script exit if any of the commands fail, +# making fastfetch not run if the build failed. +set -e + mkdir -p build/ cd build/ cmake ..