Fix compatibility with Busybox timeout(1)
Busybox timeout doesn't support option --signal
, but all timeout(1)
implementations support the short variant -s
.
BusyBox v1.35.0 (2022-08-01 15:14:44 UTC) multi-call binary.
Usage: timeout [-s SIG] [-k KILL_SECS] SECS PROG ARGS
Run PROG. Send SIG to it if it is not gone in SECS seconds. Default SIG: TERM.If it still exists in KILL_SECS seconds, send KILL.