aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/net-snmp53/files
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2006-09-23 23:03:36 +0800
committernork <nork@FreeBSD.org>2006-09-23 23:03:36 +0800
commit402329f106a3c269990202a54f5ad73b5ea6b776 (patch)
treef1ab9e1ebfed69a0e337a6a8c1fed999f9ad267e /net-mgmt/net-snmp53/files
parent7894cad62c516434d17ffc11c7cb05dcc06b4699 (diff)
downloadfreebsd-ports-gnome-402329f106a3c269990202a54f5ad73b5ea6b776.tar.gz
freebsd-ports-gnome-402329f106a3c269990202a54f5ad73b5ea6b776.tar.zst
freebsd-ports-gnome-402329f106a3c269990202a54f5ad73b5ea6b776.zip
Fix -z bug.
Pointed out by: ume Approved by: kuriyama (implicitly)
Diffstat (limited to 'net-mgmt/net-snmp53/files')
-rw-r--r--net-mgmt/net-snmp53/files/snmpd.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/net-snmp53/files/snmpd.sh.in b/net-mgmt/net-snmp53/files/snmpd.sh.in
index 661354a75bd3..746899a9b41e 100644
--- a/net-mgmt/net-snmp53/files/snmpd.sh.in
+++ b/net-mgmt/net-snmp53/files/snmpd.sh.in
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/net-mgmt/net-snmp53/files/Attic/snmpd.sh.in,v 1.3 2006-09-23 11:31:09 nork Exp $
+# $FreeBSD: /tmp/pcvs/ports/net-mgmt/net-snmp53/files/Attic/snmpd.sh.in,v 1.4 2006-09-23 15:03:36 nork Exp $
#
# PROVIDE: snmpd
# REQUIRE: DAEMON
@@ -51,7 +51,7 @@ case "${snmpd_flags}" in
"Please use \$snmpd_conffile instead."
;;
*)
- if [ ! -z ${snmpd_conffile} -a -f ${snmpd_conffile} ]; then
+ if [ ! -z "${snmpd_conffile}" -a -f ${snmpd_conffile} ]; then
snmpd_flags="-c ${snmpd_conffile} ${snmpd_flags}"
fi
;;