summaryrefslogtreecommitdiffstats
path: root/postgresql.init
diff options
context:
space:
mode:
authorTom Lane <tgl@fedoraproject.org>2008-11-02 18:23:29 +0000
committerTom Lane <tgl@fedoraproject.org>2008-11-02 18:23:29 +0000
commitef0957ba0a0b4226da155c632724c0e3183b6d55 (patch)
treecca6f04a5c8b982b22c6bbc94350e2bc722a9cf5 /postgresql.init
parent516dbde4276c1b61710e441793cb5a7e5f68f9ac (diff)
downloadpostgresql-setup-ef0957ba0a0b4226da155c632724c0e3183b6d55.tar.gz
postgresql-setup-ef0957ba0a0b4226da155c632724c0e3183b6d55.tar.xz
postgresql-setup-ef0957ba0a0b4226da155c632724c0e3183b6d55.zip
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
}