aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2012-05-24 15:26:05 -0400
committerAaron W. Swenson <titanofold@gentoo.org>2012-05-24 15:26:05 -0400
commit0bd46073b45a57809b2ff7a85ebb39f72681f253 (patch)
tree122c65bd3608a980a005f3adc09003e6db7f451f
parentIf syslog is specified in postgresql.conf, we need it. (diff)
downloadpatches-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-xpostgresql.init2
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