mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-12-25 20:23:41 +01:00
fix syntax error in busybox check - $(( is not the same as $( (, and a subshell is unnecessary here in any case
This commit is contained in:
parent
6efb1a4afb
commit
9e563782e2
@ -37,7 +37,7 @@ if [[ "$TIMEOUTBIN" == "" ]]; then
|
||||
fi
|
||||
|
||||
# Check for busybox, which has different arguments
|
||||
TIMEOUTOUTPUT=$(($TIMEOUTBIN --help) 2>&1)
|
||||
TIMEOUTOUTPUT="$($TIMEOUTBIN --help 2>&1)"
|
||||
if [[ "$TIMEOUTOUTPUT" =~ BusyBox ]]; then
|
||||
TIMEOUTBIN="$TIMEOUTBIN -t"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user