From 325bbd8c6e07e2277187fad90a17dd9d52df64cf Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Sun, 23 Jul 2023 18:13:10 -0500 Subject: [PATCH] fix: Exit if not enough args --- update-aur-lure.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/update-aur-lure.sh b/update-aur-lure.sh index c07eefb..ea59997 100644 --- a/update-aur-lure.sh +++ b/update-aur-lure.sh @@ -8,6 +8,7 @@ if [ "$#" -ne 2 ]; then echo "Invalid syntax!" echo "Use the following syntax: update-aur-lure.sh " + exit -1 fi # xdg-user-dirs is used to get the directory for the repos