Skip to content

Commit 365205d

Browse files
committed
Fix broken initdb -W option, per Michael Fuhr.
1 parent 7762619 commit 365205d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/initdb/initdb.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* Portions Copyright (c) 1994, Regents of the University of California
4343
* Portions taken from FreeBSD.
4444
*
45-
* $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.87 2005/06/28 05:09:03 tgl Exp $
45+
* $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.88 2005/06/28 15:38:12 tgl Exp $
4646
*
4747
*-------------------------------------------------------------------------
4848
*/
@@ -1440,7 +1440,7 @@ get_set_pwd(void)
14401440

14411441
check_ok();
14421442

1443-
snprintf(pwdpath, sizeof(pwdpath), "%s/global/pg_pwd", pg_data);
1443+
snprintf(pwdpath, sizeof(pwdpath), "%s/global/pg_auth", pg_data);
14441444
if (stat(pwdpath, &statbuf) != 0 || !S_ISREG(statbuf.st_mode))
14451445
{
14461446
fprintf(stderr,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy