mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-30 18:51:20 +02:00
Fix pg_ctl bug where detection of binary location from postmaster.opts
wasn't working.
This commit is contained in:
parent
5ff9899933
commit
4688e6d9cb
@ -4,7 +4,7 @@
|
||||
*
|
||||
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.102 2008/06/26 03:51:56 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.103 2008/06/26 18:25:24 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -610,7 +610,7 @@ read_post_opts(void)
|
||||
*arg1 = '\0'; /* terminate so we get only program name */
|
||||
post_opts = arg1 + 1; /* point past whitespace */
|
||||
}
|
||||
if (postgres_path != NULL)
|
||||
if (postgres_path == NULL)
|
||||
postgres_path = optline;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user