From 9e563782e220056c2a878044860187bff0796a22 Mon Sep 17 00:00:00 2001 From: Richard Soderberg Date: Thu, 3 Sep 2015 06:00:23 -0700 Subject: [PATCH] fix syntax error in busybox check - $(( is not the same as $( (, and a subshell is unnecessary here in any case --- cipherscan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cipherscan b/cipherscan index 7e23844..d607975 100755 --- a/cipherscan +++ b/cipherscan @@ -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