From: Frank Brehm Date: Tue, 21 Dec 2021 16:50:38 +0000 (+0100) Subject: Minor change to scripts/backup-pdns.sh X-Git-Tag: 0.4.1~3^2~1 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=9cb3351e4b9f4ba754a6cee66424e920309f5197;p=pixelpark%2Fpp-admin-tools.git Minor change to scripts/backup-pdns.sh --- 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