X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Frdiff;h=05aacc319f908baa2b8a208e611d1afb89d67227;hb=7e82705e20a31d3bbcf30794386294434e34e5c2;hp=9de8650e1a289414d659bddc9036b1b9a36ec7b5;hpb=7117ef41e54d47ea49a177498ee2fae3855e5d75;p=matthijs%2Fupstream%2Fbackupninja-vserver.git diff --git a/handlers/rdiff b/handlers/rdiff index 9de8650..05aacc3 100644 --- a/handlers/rdiff +++ b/handlers/rdiff @@ -104,7 +104,7 @@ then fi # check the connection at the source and destination -if [ "$testconnect" == "yes" -o $test ]; then +if [ "$testconnect" = "yes" ] || [ "${test}" -eq 1 ]; then test_connection $sourceuser $sourcehost test_connection $destuser $desthost fi