From 876288be46c997e65df796299099d788db11f250 Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Wed, 18 Jan 2023 21:48:01 +0000 Subject: [PATCH] changed exclusions file ref --- backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.sh b/backup.sh index 626c87d..94ba945 100755 --- a/backup.sh +++ b/backup.sh @@ -8,7 +8,7 @@ if [[ $BACKUP_PARAMS ]]; then BACKUP_CMD="$BACKUP_CMD $BACKUP_PARAMS" fi if [[ $BACKUP_EXCLUDE_FILE ]]; then - BACKUP_CMD="$BACKUP_CMD --exclude-file $BACKUP_EXCLUDE_FILE" + BACKUP_CMD="$BACKUP_CMD --exclude-file $dir/$BACKUP_EXCLUDE_FILE" fi running=$(pgrep -f "$BACKUP_CMD") if [[ $running ]]; then