aboutsummaryrefslogtreecommitdiff
path: root/security/xinetd
diff options
context:
space:
mode:
authorOllivier Robert <roberto@FreeBSD.org>2001-08-30 08:45:13 +0000
committerOllivier Robert <roberto@FreeBSD.org>2001-08-30 08:45:13 +0000
commitd3c6c1a432523b98b061902c07992ed3a8d9ad32 (patch)
tree267e20223a3ec63ff265be61ae88f47d370b08f9 /security/xinetd
parente2d474cf533495ec84749cadae2ec80d07888637 (diff)
downloadports-d3c6c1a432523b98b061902c07992ed3a8d9ad32.tar.gz
ports-d3c6c1a432523b98b061902c07992ed3a8d9ad32.zip
Fix the generation of the pid file.
PR: 30188 Submitted by: Rémy Card <card@csi.uvsq.fr>
Notes
Notes: svn path=/head/; revision=47151
Diffstat (limited to 'security/xinetd')
-rw-r--r--security/xinetd/files/xinetd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/xinetd/files/xinetd.sh b/security/xinetd/files/xinetd.sh
index 37a550d6f3ee..d40f74b432c8 100644
--- a/security/xinetd/files/xinetd.sh
+++ b/security/xinetd/files/xinetd.sh
@@ -8,7 +8,7 @@ fi
case "$1" in
start)
[ -x ${PREFIX}/sbin/xinetd ] && \
- ${PREFIX}/sbin/xinetd -pid 2> /var/run/xinetd.pid && \
+ ${PREFIX}/sbin/xinetd -pidfile /var/run/xinetd.pid && \
echo -n ' xinetd'
;;
stop)