]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
Actually exit when jq isn't installed
authorb3nj4m1n <b3nj4m1n@gmx.net>
Fri, 13 May 2022 16:07:07 +0000 (18:07 +0200)
committerb3nj4m1n <b3nj4m1n@gmx.net>
Fri, 13 May 2022 16:07:07 +0000 (18:07 +0200)
xdg-ninja.sh

index 72122aaa47d8f6783d032cb3bc4ff8b91b9dac6a..820c8e95e548c80eaaec36f48242e90f0b84e968 100755 (executable)
@@ -45,7 +45,7 @@ done
 if ! command -v jq &> /dev/null
 then
     echo "jq is needed to run this script, but it wasn't found. Please install it to be able to use this script."
 if ! command -v jq &> /dev/null
 then
     echo "jq is needed to run this script, but it wasn't found. Please install it to be able to use this script."
-    USE_GLOW=false
+    exit
 fi
 
 ERR=0
 fi
 
 ERR=0