From 58c107df400c648a4101db14429388509f25b0e1 Mon Sep 17 00:00:00 2001 From: carlospolop Date: Sun, 18 May 2025 04:46:19 +0200 Subject: [PATCH] fix kill? --- linPEAS/builder/linpeas_parts/functions/execBin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linPEAS/builder/linpeas_parts/functions/execBin.sh b/linPEAS/builder/linpeas_parts/functions/execBin.sh index 3c65b85..e5e0c49 100644 --- a/linPEAS/builder/linpeas_parts/functions/execBin.sh +++ b/linPEAS/builder/linpeas_parts/functions/execBin.sh @@ -32,7 +32,7 @@ execBin() { # ---------------- 120‑second wall‑clock timeout ---------------- if command -v timeout >/dev/null 2>&1; then # GNU/BSD timeout print_info "Running $TOOL_NAME with 120s timeout" - timeout --preserve-status 120 "$TMP_BIN" $PARAMS + timeout --preserve-status -s 9 120 "$TMP_BIN" $PARAMS elif command -v gtimeout >/dev/null 2>&1; then # Homebrew coreutils (macOS) print_info "Running $TOOL_NAME with 120s gtimeout" gtimeout --preserve-status 120 "$TMP_BIN" $PARAMS