Merge pull request #1 from SuperNovaa41/errormsg

adds no input warning
This commit is contained in:
Nathan Singer
2024-09-10 10:45:25 -04:00
committed by GitHub

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"