fixed ignore_version default value

This commit is contained in:
Micah Anderson 2007-12-05 20:41:54 +00:00
parent 4af0550584
commit c0140aea97
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,8 @@ version 0.9.6 -- unreleased
backupninja changes
handler changes
rdiff:
. Fixed ignore_version default value missing
wget:
. New handler from rhatto designed to incrementally pull content from
a website to a local folder, based on the rsync handler

View File

@ -77,6 +77,7 @@ getconf options
getconf testconnect yes
getconf nicelevel 0
getconf bwlimit
getconf ignore_version no
setsection source
getconf type; sourcetype=$type
@ -127,7 +128,7 @@ if [ "$testconnect" = "yes" ] || [ "${test}" -eq 1 ]; then
test_connection $destuser $desthost
fi
if [ $ignore_version != "yes" ]; then
if [ "$ignore_version" != "yes" ]; then
# see that rdiff-backup has the same version at the source and destination
sourceversion=`get_version $sourceuser $sourcehost`
destversion=`get_version $destuser $desthost`