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

Lines changed: 4 additions & 4 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy