From c7772fd141e626fb4e554684a0edc0ac5022cc41 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Wed, 13 Dec 2023 02:27:35 -0500 Subject: [PATCH] Fixed path to postgresql config script better, fix typo --- scripts/postgresql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/postgresql b/scripts/postgresql index 09535ab..86e3e91 100755 --- a/scripts/postgresql +++ b/scripts/postgresql @@ -6,7 +6,7 @@ scriptDir="$(dirname "$0")" function readConfig() { local $config - + if [[ -r "${scriptDir}/../config/postgresql.cfg" ]]; then config="$(readlink -f "${scriptDir}/../config/postgresql.cfg")" else @@ -20,7 +20,7 @@ function readConfig() { if [[ "${vals[0]}" -ge 10 ]]; then echo "${vals[@]}" fi - done < "$config"" + done < "$config" } function runBackups() {