diff options
-rwxr-xr-x | backup-all.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backup-all.sh b/backup-all.sh index aeea10b..b6637ce 100755 --- a/backup-all.sh +++ b/backup-all.sh | |||
@@ -12,9 +12,9 @@ backup_all() ( | |||
12 | LIST_FILE="$1" | 12 | LIST_FILE="$1" |
13 | DUPLICITY_OPTIONS="$2" | 13 | DUPLICITY_OPTIONS="$2" |
14 | 14 | ||
15 | while read -r LINE; do | 15 | grep -v '^\s*#' "$LIST_FILE" | while read -r LINE; do |
16 | backup-dataset.sh $LINE $DUPLICITY_OPTIONS | 16 | backup-dataset.sh $LINE $DUPLICITY_OPTIONS |
17 | done <"$LIST_FILE" | 17 | done |
18 | ) | 18 | ) |
19 | 19 | ||
20 | case "${1:-help}" in | 20 | case "${1:-help}" in |