From e84e39e313eea1759dcc47c72a92be559024f879 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Tue, 22 Jul 2025 17:13:43 -0600 Subject: [PATCH] Update monitor.sh --- usr/local/share/bastille/monitor.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/share/bastille/monitor.sh b/usr/local/share/bastille/monitor.sh index 688538a5..44ffe3c7 100644 --- a/usr/local/share/bastille/monitor.sh +++ b/usr/local/share/bastille/monitor.sh @@ -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}"