2
0
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:
Richard Soderberg 2015-09-03 06:00:23 -07:00
parent 6efb1a4afb
commit 9e563782e2

View File

@ -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