From 3fce693bf6589302de24e09db38a18e6956c2c49 Mon Sep 17 00:00:00 2001 From: fbt Date: Sun, 29 Nov 2026 10:57:30 +0000 Subject: [PATCH] there Signed-off-by: fbt --- ssm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssm b/ssm index fb407a0..5c26dc1 100755 --- a/ssm +++ b/ssm @@ -311,11 +311,11 @@ readonly -f nullexec anywait() { declare counter timeout var counter = 0 - var timeout = "$2" + var timeout = $(( $2 * 10 )) # We sleep for 0.1, but the timeout is given in seconds. while nullexec kill -0 "$1"; do timeout && { - (( counter >= (timeout*10) )) && return 1 + (( counter >= timeout )) && return 1 counter++ }