projects
/
matthijs
/
upstream
/
backupninja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r238@um: micah | 2005-12-27 13:32:57 -0500
[matthijs/upstream/backupninja.git]
/
handlers
/
rdiff
diff --git
a/handlers/rdiff
b/handlers/rdiff
index 9de8650e1a289414d659bddc9036b1b9a36ec7b5..05aacc319f908baa2b8a208e611d1afb89d67227 100644
(file)
--- a/
handlers/rdiff
+++ b/
handlers/rdiff
@@
-104,7
+104,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