8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80cedf9 commit 4529d2cCopy full SHA for 4529d2c
src/bin/pg_ctl/pg_ctl.sh
@@ -8,7 +8,7 @@
8
#
9
10
# IDENTIFICATION
11
-# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.35 2003/08/04 23:59:39 tgl Exp $
+# $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.36 2003/08/14 18:56:41 tgl Exp $
12
13
#-------------------------------------------------------------------------
14
@@ -371,10 +371,10 @@ if [ "$op" = "start" -o "$op" = "restart" ];then
371
372
# Attempt to use the right port
373
# Use PGPORT if set, otherwise look in the configuration file
374
- if [ -z $PGPORT ];then
+ if [ -z "$PGPORT" ];then
375
PGPORT=`sed -ne 's/^[ ]*port[^=]*=[ ]\+\([0-9]\+\).*/\1/p' $CONFFILE 2>/dev/null`
376
377
- PGPORT=$DEF_PGPORT
+ PGPORT="$DEF_PGPORT"
378
fi
379
380
0 commit comments