aboutsummaryrefslogtreecommitdiffstats
path: root/security/xinetd
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2001-08-30 16:45:13 +0800
committerroberto <roberto@FreeBSD.org>2001-08-30 16:45:13 +0800
commit67a3bf259406110c644112a8c7e926aaa2107e9c (patch)
tree0751ce67f98bb6aaa7500a1f2c9530ce070fe334 /security/xinetd
parent66178bc1a9543248b90a91763795268bb98f890f (diff)
downloadfreebsd-ports-gnome-67a3bf259406110c644112a8c7e926aaa2107e9c.tar.gz
freebsd-ports-gnome-67a3bf259406110c644112a8c7e926aaa2107e9c.tar.zst
freebsd-ports-gnome-67a3bf259406110c644112a8c7e926aaa2107e9c.zip
Fix the generation of the pid file.
PR: 30188 Submitted by: Rémy Card <card@csi.uvsq.fr>
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)