adds no input warning

This commit is contained in:
SuperNovaa41 2024-09-10 10:41:44 -04:00
parent f510ed8680
commit b4301b60e2

7
mah
View File

@ -146,6 +146,13 @@ then
confirm="--noconfirm"
fi
if [[ -z "$@" ]]
then
echo "No input given!"
exit 1
fi
for x in $@
do
command cd "$DOWNLOAD_DIR"