exit if no args

This commit is contained in:
tschettervictor
2024-12-16 12:48:23 -07:00
committed by GitHub
parent fe029c0344
commit d2943bdf3f

View File

@@ -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