diff --git a/usr/local/share/bastille/htop.sh b/usr/local/share/bastille/htop.sh index 9c8a9913..3dc9dbe6 100644 --- a/usr/local/share/bastille/htop.sh +++ b/usr/local/share/bastille/htop.sh @@ -42,8 +42,12 @@ case "$1" in ;; esac -TARGET="${1}" -shift +if [ $# -eq 0 ]; then + usage +else + TARGET="${1}" + shift +fi if [ "${TARGET}" = "ALL" ]; then target_all_jails