aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-support/postgresql/postgresql
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-support/postgresql/postgresql')
-rw-r--r--meta-openstack/recipes-support/postgresql/postgresql/postgresql-init2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-openstack/recipes-support/postgresql/postgresql/postgresql-init b/meta-openstack/recipes-support/postgresql/postgresql/postgresql-init
index d9850dab..26f858ef 100644
--- a/meta-openstack/recipes-support/postgresql/postgresql/postgresql-init
+++ b/meta-openstack/recipes-support/postgresql/postgresql/postgresql-init
@@ -38,7 +38,7 @@ while [ $count -le 10 ] && [ $done -eq 0 ]; do
count=`expr $count + 1`
done
-if [ $done -eq 0 ]; then
+if [ $done -ne 0 ]; then
echo "[ERROR] postgres: unable to create admin account"
exit 1
fi