From a0284d0b313a4e0900d42be2c94db2c740169f03 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Tue, 12 Jan 2016 21:25:41 +0530 Subject: [PATCH] call `print_app_credentials` irrespective of `POSTGRESQL_REPLICATION_MODE` --- .../postgresql/rootfs/etc/cont-init.d/01-bitnami-postgresql | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bitnami/postgresql/rootfs/etc/cont-init.d/01-bitnami-postgresql b/bitnami/postgresql/rootfs/etc/cont-init.d/01-bitnami-postgresql index 854a0536f974..ce79cc291d1e 100755 --- a/bitnami/postgresql/rootfs/etc/cont-init.d/01-bitnami-postgresql +++ b/bitnami/postgresql/rootfs/etc/cont-init.d/01-bitnami-postgresql @@ -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