Update monitor.sh

This commit is contained in:
tschettervictor
2025-07-22 17:13:43 -06:00
committed by GitHub
parent da0f8c1d16
commit e84e39e313

View File

@@ -67,8 +67,6 @@ while [ "$#" -gt 0 ]; do
esac
done
[ "$#" -eq 0 ] && usage
# Handle global actions.
case "${1}" in
enable)
@@ -106,6 +104,8 @@ case "${1}" in
;;
esac
[ "$#" -eq 0 ] && usage
TARGET="${1}"
ACTION="${2}"
SERVICE="${3}"