aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2012-08-06 08:28:43 +0800
committerdougb <dougb@FreeBSD.org>2012-08-06 08:28:43 +0800
commit3fd63179eab3aabf71acde27ce919609051b200d (patch)
tree064a3b25bd22f00aecb92267a8a37b3b2bcc0446 /security
parentf0d9f58b7f1825fb95236f427a6400ad54ad4b5e (diff)
downloadfreebsd-ports-gnome-3fd63179eab3aabf71acde27ce919609051b200d.tar.gz
freebsd-ports-gnome-3fd63179eab3aabf71acde27ce919609051b200d.tar.zst
freebsd-ports-gnome-3fd63179eab3aabf71acde27ce919609051b200d.zip
Fix what looks like a copy-paste-o that originated in the same script:
command=foo >/dev/null 2>&1 | v command=foo command_args='>/dev/null 2>&1' This is clearly what should have been done, for several reasons. No PORTREVISION bump because the old version simply ignored everything after the space, and does not seem to have done any harm. However it's good to clean these up so that similar errors aren't pasted into a new script where they might actually matter.
Diffstat (limited to 'security')
-rw-r--r--security/amavisd-new/files/amavisd.in3
-rw-r--r--security/xinetd/files/xinetd.in3
2 files changed, 4 insertions, 2 deletions
diff --git a/security/amavisd-new/files/amavisd.in b/security/amavisd-new/files/amavisd.in
index 593d26982d81..1b8e77ffee75 100644
--- a/security/amavisd-new/files/amavisd.in
+++ b/security/amavisd-new/files/amavisd.in
@@ -19,7 +19,8 @@
name=amavisd
rcvar=amavisd_enable
-command=%%PREFIX%%/sbin/amavisd > /dev/null 2>&1
+command=%%PREFIX%%/sbin/amavisd
+command_args='> /dev/null 2>&1'
required_files=%%PREFIX%%/etc/amavisd.conf
extra_commands="reload"
diff --git a/security/xinetd/files/xinetd.in b/security/xinetd/files/xinetd.in
index 9e66788e2428..d7655b26fb18 100644
--- a/security/xinetd/files/xinetd.in
+++ b/security/xinetd/files/xinetd.in
@@ -15,7 +15,8 @@
name=xinetd
rcvar=xinetd_enable
-command=%%PREFIX%%/sbin/xinetd > /dev/null 2>&1
+command=%%PREFIX%%/sbin/xinetd
+command_args='> /dev/null 2>&1'
pidfile=/var/run/xinetd.pid
xinetd_enable=${xinetd_enable:-"NO"}