Test that lint fails
This commit is contained in:
@@ -46,7 +46,7 @@ trap exit_hook INT TERM
|
|||||||
exclusion_args="--exclude-file ${RESTIC_BACKUP_EXCLUDE_FILE}"
|
exclusion_args="--exclude-file ${RESTIC_BACKUP_EXCLUDE_FILE}"
|
||||||
## Self-contained backup files per backup path. E.g. having an USB disk at /mnt/media in RESTIC_BACKUP_PATHS,
|
## Self-contained backup files per backup path. E.g. having an USB disk at /mnt/media in RESTIC_BACKUP_PATHS,
|
||||||
# a file /mnt/media/.backup_exclude.txt will automatically be detected and used:
|
# a file /mnt/media/.backup_exclude.txt will automatically be detected and used:
|
||||||
for backup_path in "${RESTIC_BACKUP_PATHS[@]}"; do
|
for backup_path in ${RESTIC_BACKUP_PATHS[@]}; do
|
||||||
if [ -f "$backup_path/.backup_exclude.txt" ]; then
|
if [ -f "$backup_path/.backup_exclude.txt" ]; then
|
||||||
exclusion_args+=" --exclude-file $backup_path/.backup_exclude.txt"
|
exclusion_args+=" --exclude-file $backup_path/.backup_exclude.txt"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user