exit if no args

This commit is contained in:
tschettervictor
2024-12-16 12:48:09 -07:00
committed by GitHub
parent 538ec8159d
commit fe029c0344

View File

@@ -41,8 +41,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