Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 257e17b

Browse files
committed
Correct path where to check for password file existance.
1 parent f5a83d9 commit 257e17b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/initdb/initdb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#
2525
# Copyright (c) 1994, Regents of the University of California
2626
#
27-
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.118 2000/12/31 22:24:14 tgl Exp $
27+
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.119 2001/01/04 17:25:09 petere Exp $
2828
#
2929
#-------------------------------------------------------------------------
3030

@@ -533,7 +533,7 @@ if [ "$PwPrompt" ]; then
533533
fi
534534
echo "ALTER USER \"$POSTGRES_SUPERUSERNAME\" WITH PASSWORD '$FirstPw'" \
535535
| "$PGPATH"/postgres $PGSQL_OPT template1 > /dev/null || exit_nicely
536-
if [ ! -f $PGDATA/pg_pwd ]; then
536+
if [ ! -f $PGDATA/global/pg_pwd ]; then
537537
echo "The password file wasn't generated. Please report this problem." 1>&2
538538
exit_nicely
539539
fi

0 commit comments

Comments
 (0)