projects
/
matthijs
/
upstream
/
backupninja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add the Emacs header comment line to lib/*.in
[matthijs/upstream/backupninja.git]
/
handlers
/
rdiff
diff --git
a/handlers/rdiff
b/handlers/rdiff
index 9de8650e1a289414d659bddc9036b1b9a36ec7b5..209606d71de6f22d2445f746ad1e1344f6efe43e 100644
(file)
--- 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
#
# rdiff-backup handler script for backupninja
# requires rdiff-backup
@@
-104,7
+105,7
@@
then
fi
# check the connection at the source and destination
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
test_connection $sourceuser $sourcehost
test_connection $destuser $desthost
fi