changed exclusions file ref

This commit is contained in:
Paul Wilde 2023-01-18 21:48:01 +00:00
parent 58857451e3
commit 876288be46

View file

@ -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