call `print_app_credentials` irrespective of `POSTGRESQL_REPLICATION_MODE`

This commit is contained in:
Sameer Naik 2016-01-12 21:25:41 +05:30
parent a38cd88a63
commit a0284d0b31
1 changed files with 1 additions and 3 deletions

View File

@ -27,9 +27,7 @@ if [ ! -f $BITNAMI_APP_VOL_PREFIX/data/PG_VERSION ]; then
create_replication_user
if [ "$POSTGRESQL_REPLICATION_MODE" != "slave" ]; then
print_app_credentials $BITNAMI_APP_NAME $POSTGRESQL_USER `print_postgresql_password` `print_postgresql_database`
fi
print_app_credentials $BITNAMI_APP_NAME $POSTGRESQL_USER `print_postgresql_password` `print_postgresql_database`
else
print_container_already_initialized $BITNAMI_APP_NAME
fi