forked from ungleich-public/ccollect
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:
parent
142ec43f7c
commit
88eb652bae
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue