diff options
author | Aaron W. Swenson <titanofold@gentoo.org> | 2012-05-24 15:46:29 -0400 |
---|---|---|
committer | Aaron W. Swenson <titanofold@gentoo.org> | 2012-05-24 15:46:29 -0400 |
commit | 9031a6f2c6825cd99da48952f44165d64f575192 (patch) | |
tree | f3a7b70bae25352a9a4a89960eac97fade8ca4c3 | |
parent | Don't just check for the variable, but see if it's true! (diff) | |
download | patches-9031a6f2c6825cd99da48952f44165d64f575192.tar.gz patches-9031a6f2c6825cd99da48952f44165d64f575192.tar.bz2 patches-9031a6f2c6825cd99da48952f44165d64f575192.zip |
Missed a path variable.
-rwxr-xr-x | postgresql.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresql.init b/postgresql.init index ae3c561..8217299 100755 --- a/postgresql.init +++ b/postgresql.init @@ -8,7 +8,7 @@ extra_started_commands="reload" get_config() { [ -f ${PGDATA}/postgresql.conf ] || return 1 - eval echo $(sed -e 's:#.*::' ${PGDATA}/postgresql.conf | awk '$1 == "'$1'" { print $2 == "=" ? $3 : $2 }') + eval echo $(sed -e 's:#.*::' ${PGDATA%/}/postgresql.conf | awk '$1 == "'$1'" { print $2 == "=" ? $3 : $2 }') } depend() { |