]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Minor change to scripts/backup-pdns.sh
authorFrank Brehm <frank.brehm@pixelpark.com>
Tue, 21 Dec 2021 16:50:38 +0000 (17:50 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Tue, 21 Dec 2021 16:50:38 +0000 (17:50 +0100)
scripts/backup-pdns.sh

index 1004243f9cf5b748c9c2bc63e8ea239d6d82bf62..4ebde04185a45e3498e014f93685c3959c3e8f54 100755 (executable)
@@ -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