2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-10-05 18:53:40 +02: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 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