summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbackup.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/backup.in b/backup.in
index fdc467e..0a61933 100755
--- a/backup.in
+++ b/backup.in
@@ -78,7 +78,7 @@ then
sleep 4
fi
-for toExclude in ${excludes}
+for toExclude in "${excludes[@]}"
do
excludeArgs="${excludeArgs} --exclude ${toExclude}"
done