From 34ae0ccab9dd831a043d23767870ce484c17b29b Mon Sep 17 00:00:00 2001 From: Richard Soderberg Date: Sat, 5 Sep 2015 03:26:34 -0700 Subject: [PATCH] Replace instances of string-ish [[ -ne ]] with arithmetic (( != )). --- cipherscan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cipherscan b/cipherscan index 0711ceb..c8f5224 100755 --- a/cipherscan +++ b/cipherscan @@ -883,7 +883,7 @@ test_serverside_ordering() { sslcommand+=" -status $SCLIENTARGS -connect $TARGET -cipher $ciphersuite" test_cipher_on_target "$sslcommand" - if [[ $? -ne 0 ]]; then + if (( $? != 0 )); then serverside="True" else local selected=($result)