From 936322d31a611056394c3667ffb46efcdd6494af Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 4 Jan 2001 17:25:09 +0000 Subject: [PATCH] Correct path where to check for password file existance. --- src/bin/initdb/initdb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/initdb/initdb.sh b/src/bin/initdb/initdb.sh index 7f7e9f4625..0b01716f49 100644 --- a/src/bin/initdb/initdb.sh +++ b/src/bin/initdb/initdb.sh @@ -533,7 +533,7 @@ if [ "$PwPrompt" ]; then fi echo "ALTER USER \"$POSTGRES_SUPERUSERNAME\" WITH PASSWORD '$FirstPw'" \ | "$PGPATH"/postgres $PGSQL_OPT template1 > /dev/null || exit_nicely - if [ ! -f $PGDATA/pg_pwd ]; then + if [ ! -f $PGDATA/global/pg_pwd ]; then echo "The password file wasn't generated. Please report this problem." 1>&2 exit_nicely fi -- 2.39.5