summaryrefslogtreecommitdiff
path: root/plugins/claude-security/scripts/keep-waiting.sh
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/claude-security/scripts/keep-waiting.sh')
-rwxr-xr-xplugins/claude-security/scripts/keep-waiting.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/claude-security/scripts/keep-waiting.sh b/plugins/claude-security/scripts/keep-waiting.sh
index 8920d36d..8cb993a5 100755
--- a/plugins/claude-security/scripts/keep-waiting.sh
+++ b/plugins/claude-security/scripts/keep-waiting.sh
@@ -1,10 +1,10 @@
#!/usr/bin/env bash
# Hold the Security Lead's turn while the scan workflow runs: wait, then tell the
# caller to run this again unless the workflow's result has arrived.
-# Usage: keep-waiting.sh [SECONDS] (1 to 110, default 90; exits 2 on a bad value)
+# Usage: keep-waiting.sh [SECONDS] (1 to 110, default 30; exits 2 on a bad value)
# The wait stays under the Bash tool's two-minute default timeout, past which a
# command is moved to the background and no longer holds the turn.
-seconds=${1:-90}
+seconds=${1:-30}
case $seconds in '' | *[!0-9]*) seconds=0 ;; esac
if [ "$seconds" -lt 1 ] || [ "$seconds" -gt 110 ]; then
echo "usage: keep-waiting.sh [SECONDS between 1 and 110]" >&2