mirror of https://github.com/wolfSSL/wolfssh.git
Merge pull request #127 from JacobBarthelmeh/sftp
change check in external test scriptpull/130/head
commit
e313e66a1e
|
@ -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=$?
|
||||
|
|
Loading…
Reference in New Issue