Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4529d2c

Browse files
committed
Add missing quotes.
1 parent 80cedf9 commit 4529d2c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/bin/pg_ctl/pg_ctl.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
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

0 commit comments

Comments
 (0)