X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Frdiff;h=209606d71de6f22d2445f746ad1e1344f6efe43e;hb=c8efb40b7febbdd2aee03996938e6d8c63c06377;hp=9de8650e1a289414d659bddc9036b1b9a36ec7b5;hpb=a116f435ce8b97fdbea9fd25f91517b1fb850881;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/handlers/rdiff b/handlers/rdiff index 9de8650..209606d 100644 --- a/handlers/rdiff +++ b/handlers/rdiff @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- # # rdiff-backup handler script for backupninja # requires rdiff-backup @@ -104,7 +105,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