Removed double paramater.

The $EXCLUDE variable was passed twice to rsync. This is not a real
problem, but it is not a clean way of programming. Removed it.
This commit is contained in:
Nico Schottelius 2005-12-08 14:00:04 +01:00
parent 142ec43f7c
commit 88eb652bae

View file

@ -268,7 +268,7 @@ while [ "$i" -lt "$no_shares" ]; do
#
rsync -a $VERBOSE --delete --numeric-ids --relative --delete-excluded \
"$EXCLUDE" $EXCLUDE "$source" "$destination_dir"
"$EXCLUDE" "$source" "$destination_dir"
if [ $? -ne 0 ]; then
errecho "rsync failed, backup most likely broken"