mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Ignore missing postmaster.opts.default file.
This commit is contained in:
parent
c7fc242a06
commit
7300a28a67
@ -8,7 +8,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.12 2000/04/25 01:07:23 ishii Exp $
|
# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.13 2000/10/24 19:11:15 petere Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
CMDNAME=`basename $0`
|
CMDNAME=`basename $0`
|
||||||
@ -221,8 +221,7 @@ if [ $op = "start" -o $op = "restart" ];then
|
|||||||
if [ -f $DEFPOSTOPTS ];then
|
if [ -f $DEFPOSTOPTS ];then
|
||||||
eval "$po_path `cat $DEFPOSTOPTS`" &
|
eval "$po_path `cat $DEFPOSTOPTS`" &
|
||||||
else
|
else
|
||||||
$ECHO "$CMDNAME: Can't find $DEFPOSTOPTS"
|
$po_path &
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# if we are in restart mode, then look postmaster.opts
|
# if we are in restart mode, then look postmaster.opts
|
||||||
|
Loading…
Reference in New Issue
Block a user