Commit 4529d2cf authored by Tom Lane's avatar Tom Lane

Add missing quotes.

parent 80cedf9b
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $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 $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -371,10 +371,10 @@ if [ "$op" = "start" -o "$op" = "restart" ];then ...@@ -371,10 +371,10 @@ if [ "$op" = "start" -o "$op" = "restart" ];then
# Attempt to use the right port # Attempt to use the right port
# Use PGPORT if set, otherwise look in the configuration file # Use PGPORT if set, otherwise look in the configuration file
if [ -z $PGPORT ];then if [ -z "$PGPORT" ];then
PGPORT=`sed -ne 's/^[ ]*port[^=]*=[ ]\+\([0-9]\+\).*/\1/p' $CONFFILE 2>/dev/null` PGPORT=`sed -ne 's/^[ ]*port[^=]*=[ ]\+\([0-9]\+\).*/\1/p' $CONFFILE 2>/dev/null`
if [ -z $PGPORT ];then if [ -z "$PGPORT" ];then
PGPORT=$DEF_PGPORT PGPORT="$DEF_PGPORT"
fi fi
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment