X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Frdiff;h=08e24eb2a192c7fdab4a685456adb04e65c088a8;hb=40a106a0f2ddddba622bd7206a51a76c09e7ad01;hp=9de8650e1a289414d659bddc9036b1b9a36ec7b5;hpb=7117ef41e54d47ea49a177498ee2fae3855e5d75;p=matthijs%2Fupstream%2Fbackupninja-vserver.git diff --git a/handlers/rdiff b/handlers/rdiff index 9de8650..08e24eb 100644 --- a/handlers/rdiff +++ b/handlers/rdiff @@ -1,3 +1,4 @@ +# -*- mode: sh; sh-basic-offset: 8; 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