diff options
author | Aaron W. Swenson <titanofold@gentoo.org> | 2012-05-24 15:26:05 -0400 |
---|---|---|
committer | Aaron W. Swenson <titanofold@gentoo.org> | 2012-05-24 15:26:05 -0400 |
commit | 0bd46073b45a57809b2ff7a85ebb39f72681f253 (patch) | |
tree | 122c65bd3608a980a005f3adc09003e6db7f451f | |
parent | If syslog is specified in postgresql.conf, we need it. (diff) | |
download | patches-0bd46073b45a57809b2ff7a85ebb39f72681f253.tar.gz patches-0bd46073b45a57809b2ff7a85ebb39f72681f253.tar.bz2 patches-0bd46073b45a57809b2ff7a85ebb39f72681f253.zip |
Don't just check for the variable, but see if it's true!
-rwxr-xr-x | postgresql.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresql.init b/postgresql.init index 06f2d23..ae3c561 100755 --- a/postgresql.init +++ b/postgresql.init @@ -51,7 +51,7 @@ checkconfig() { status=1 fi done - if [ ${status} ] ; then + if [ ${status} -eq 1 ] ; then eerror "HINT: Try:" eerror " mv ${DATA_DIR%/}/*.conf ${PGDATA}" return 1 |