From dac2f65809187c27832ee2c15c19d82981ebe6fe Mon Sep 17 00:00:00 2001 From: b3nj4m1n Date: Fri, 13 May 2022 18:07:07 +0200 Subject: [PATCH] Actually exit when jq isn't installed --- xdg-ninja.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3