mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-22 14: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
|
fi
|
||||||
|
|
||||||
# Check for busybox, which has different arguments
|
# Check for busybox, which has different arguments
|
||||||
TIMEOUTOUTPUT=$(($TIMEOUTBIN --help) 2>&1)
|
TIMEOUTOUTPUT="$($TIMEOUTBIN --help 2>&1)"
|
||||||
if [[ "$TIMEOUTOUTPUT" =~ BusyBox ]]; then
|
if [[ "$TIMEOUTOUTPUT" =~ BusyBox ]]; then
|
||||||
TIMEOUTBIN="$TIMEOUTBIN -t"
|
TIMEOUTBIN="$TIMEOUTBIN -t"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user