mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-26 13:18:35 -06:00
fix: Exit if not enough args
This commit is contained in:
parent
0edf426e62
commit
325bbd8c6e
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
if [ "$#" -ne 2 ]; then
|
||||
echo "Invalid syntax!"
|
||||
echo "Use the following syntax: update-aur-lure.sh <package-name> <new-version>"
|
||||
exit -1
|
||||
fi
|
||||
|
||||
# xdg-user-dirs is used to get the directory for the repos
|
||||
|
|
Loading…
Reference in a new issue