From 9cb3351e4b9f4ba754a6cee66424e920309f5197 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 21 Dec 2021 17:50:38 +0100 Subject: [PATCH] Minor change to scripts/backup-pdns.sh --- scripts/backup-pdns.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/backup-pdns.sh b/scripts/backup-pdns.sh index 1004243..4ebde04 100755 --- a/scripts/backup-pdns.sh +++ b/scripts/backup-pdns.sh @@ -10,10 +10,10 @@ BASE_DIR=$( dirname "${BIN_DIR}" ) LIB_DIR="${BASE_DIR}/lib" CONF_DIR="${BASE_DIR}/etc" -if [[ -f "${LIB_DIR}/functions.rc" ]] ; then - . "${LIB_DIR}/functions.rc" +if [[ -f "${BIN_DIR}/functions.rc" ]] ; then + . "${BIN_DIR}/functions.rc" else - echo "Bash resource file '${LIB_DIR}/functions.rc' not found" >&2 + echo "Bash resource file '${BIN_DIR}/functions.rc' not found" >&2 exit 5 fi -- 2.39.5