From: b3nj4m1n Date: Fri, 13 May 2022 16:07:07 +0000 (+0200) Subject: Actually exit when jq isn't installed X-Git-Tag: v0.2.0.0~95 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/commitdiff_plain/dac2f65809187c27832ee2c15c19d82981ebe6fe?ds=sidebyside;hp=-c Actually exit when jq isn't installed --- dac2f65809187c27832ee2c15c19d82981ebe6fe diff --git a/xdg-ninja.sh b/xdg-ninja.sh index 72122aa..820c8e9 100755 --- a/xdg-ninja.sh +++ b/xdg-ninja.sh @@ -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." - USE_GLOW=false + exit fi ERR=0