diff --git a/scripts/external.test b/scripts/external.test index 96a0c7aa..56d5531b 100755 --- a/scripts/external.test +++ b/scripts/external.test @@ -39,7 +39,7 @@ echo -e "Success\n" # not having the sftp client built in is not a failure case ./wolfsftp/client/wolfsftp -h -if [ $? == 0 ]; then +if [ $? -eq 0 ]; then echo "Testing wolfsftp connection to $host : " echo "exit" | ./wolfsftp/client/wolfsftp -u $user -P $password -h $host -p 22 RESULT=$?