From 88eb652bae10ecdd546ef2d6e3e420477dc0ad11 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 8 Dec 2005 14:00:04 +0100 Subject: [PATCH] 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. --- ccollect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccollect.sh b/ccollect.sh index 2435105..40f6881 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -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"