summaryrefslogtreecommitdiffstats
path: root/postgresql.init
diff options
context:
space:
mode:
Diffstat (limited to 'postgresql.init')
-rw-r--r--postgresql.init4
1 files changed, 3 insertions, 1 deletions
diff --git a/postgresql.init b/postgresql.init
index 37d6011..adb395a 100644
--- a/postgresql.init
+++ b/postgresql.init
@@ -230,8 +230,9 @@ reload(){
initdb(){
if [ -f "$PGDATA/PG_VERSION" ]
then
- echo "Data directory is not empty!"
+ echo -n "Data directory is not empty!"
echo_failure
+ echo
script_result=1
else
echo -n $"Initializing database: "
@@ -257,6 +258,7 @@ initdb(){
echo_failure
script_result=1
fi
+ echo
fi
}