Skip to content
Browse files

Fixes #2508: Change into backup directory

This fix ensures that the backup-script will change into the backup directory before running.

Users backup via root user will no longer get a warning, that the script couldn't change into '/root'
  • Loading branch information...
MrGeneration authored and thorsteneckel committed Aug 7, 2019
1 parent 54d5904 commit cc1268a8b6acf1f3858bd97c7413006a568f6c50
Showing with 3 additions and 0 deletions.
  1. +3 −0 contrib/backup/
@@ -7,6 +7,9 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:
BACKUP_SCRIPT_PATH="$(dirname $(realpath $0))"

if [ -f "${BACKUP_SCRIPT_PATH}/config" ]; then
# Ensure we're inside of our Backup-Script folder (see issue 2508)

# import config

0 comments on commit cc1268a

Please sign in to comment.
You can’t perform that action at this time.