aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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