summaryrefslogtreecommitdiff
path: root/databases/postgresql-server
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-05-14 21:19:42 +0000
committerjlam <jlam@pkgsrc.org>2001-05-14 21:19:42 +0000
commit10595de1670e79326bd40dc39887038faadb1586 (patch)
tree36093b7eeaa3be916331b7d60474d3bbdc2b4c4b /databases/postgresql-server
parent8c14b14d95e355dc99d628b84912a1398dfaf332 (diff)
downloadpkgsrc-10595de1670e79326bd40dc39887038faadb1586.tar.gz
Surround possible empty string in quotes so [ sees an argument.
Diffstat (limited to 'databases/postgresql-server')
-rw-r--r--databases/postgresql-server/files/pgsql.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/postgresql-server/files/pgsql.sh b/databases/postgresql-server/files/pgsql.sh
index 0be18301f6a..7c422f2d88f 100644
--- a/databases/postgresql-server/files/pgsql.sh
+++ b/databases/postgresql-server/files/pgsql.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: pgsql.sh,v 1.3 2001/05/14 21:02:39 jlam Exp $
+# $NetBSD: pgsql.sh,v 1.4 2001/05/14 21:19:42 jlam Exp $
#
# PostgreSQL database rc.d control script
#
@@ -31,7 +31,7 @@ else
fi
# $flags from environment overrides $pgsql_flags
-if [ -n ${flags} ]
+if [ -n "${flags}" ]
then
eval ${rcvar}_flags="${flags}"
fi