File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 88#
99#
1010# IDENTIFICATION
11- # $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.35 2003/08/04 23:59:39 tgl Exp $
11+ # $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.36 2003/08/14 18:56:41 tgl Exp $
1212#
1313# -------------------------------------------------------------------------
1414
@@ -371,10 +371,10 @@ if [ "$op" = "start" -o "$op" = "restart" ];then
371371
372372 # Attempt to use the right port
373373 # Use PGPORT if set, otherwise look in the configuration file
374- if [ -z $PGPORT ]; then
374+ if [ -z " $PGPORT " ]; then
375375 PGPORT=` sed -ne ' s/^[ ]*port[^=]*=[ ]\+\([0-9]\+\).*/\1/p' $CONFFILE 2> /dev/null`
376- if [ -z $PGPORT ]; then
377- PGPORT=$DEF_PGPORT
376+ if [ -z " $PGPORT " ]; then
377+ PGPORT=" $DEF_PGPORT "
378378 fi
379379 fi
380380
You can’t perform that action at this time.
0 commit comments