diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2001-01-04 17:25:09 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2001-01-04 17:25:09 +0000 |
commit | 257e17bc60fba39be2b6b6c32c2d7efd26fdef07 (patch) | |
tree | d28c73f9a64345aabea1d10c3597206bfc03c33a | |
parent | f5a83d9f41b8dd1fed32c6682e4c3ba3271c723f (diff) | |
download | postgresql-257e17bc60fba39be2b6b6c32c2d7efd26fdef07.tar.gz postgresql-257e17bc60fba39be2b6b6c32c2d7efd26fdef07.zip |
Correct path where to check for password file existance.
-rw-r--r-- | src/bin/initdb/initdb.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/initdb/initdb.sh b/src/bin/initdb/initdb.sh index d53fec77b2e..df2b3f49d29 100644 --- a/src/bin/initdb/initdb.sh +++ b/src/bin/initdb/initdb.sh @@ -24,7 +24,7 @@ # # Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.118 2000/12/31 22:24:14 tgl Exp $ +# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.119 2001/01/04 17:25:09 petere Exp $ # #------------------------------------------------------------------------- @@ -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 |