X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Frdiff;h=05aacc319f908baa2b8a208e611d1afb89d67227;hb=0e1bd269884c234dd76b00fa30bae674e82892bf;hp=9de8650e1a289414d659bddc9036b1b9a36ec7b5;hpb=5f6dc7d1b9eafb760f29abb9f87cccaf44845020;p=matthijs%2Fupstream%2Fbackupninja.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