summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/xinetd/files')
-rwxr-xr-xsys-apps/xinetd/files/xinetd-run5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys-apps/xinetd/files/xinetd-run b/sys-apps/xinetd/files/xinetd-run
index 26fcefcbf0f1..912f10fc3aea 100755
--- a/sys-apps/xinetd/files/xinetd-run
+++ b/sys-apps/xinetd/files/xinetd-run
@@ -18,11 +18,8 @@ then
#bogus pidfile, remove
rm /var/run/xinetd.pid
fi
-fi
-if [ ! -e /var/run/xinetd.pid ]
-then
+else
/usr/sbin/xinetd -pidfile /var/run/xinetd.pid
/usr/bin/sleep 1
fi
exec /usr/bin/watchpid `cat /var/run/xinetd.pid`
-