diff --git a/mah b/mah index d658123..5307b09 100755 --- a/mah +++ b/mah @@ -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"