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
1 changed files with 1 additions and 1 deletions

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