From faee3c38ade9df33f8b4d5b7a33371dc1743aba4 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Sat, 16 Feb 2002 16:15:23 +0000 Subject: [PATCH] fix stop script --- cvs/rc.cvs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cvs/rc.cvs b/cvs/rc.cvs index 54536bde81..206a0d7196 100644 --- a/cvs/rc.cvs +++ b/cvs/rc.cvs @@ -23,9 +23,9 @@ %stop -p 200 -u root if opServiceEnabled cvs_pserverd; then if [ -f $cvs_pserverd_pidfile ]; then - kill -TERM `cat $cvs_pserverd_pidfile` - sleep f - kill -KILL `cat $cvs_pserverd_pidfile` + kill -TERM `cat $cvs_pserverd_pidfile` >/dev/null 2>&1 || true + sleep 2 + kill -KILL `cat $cvs_pserverd_pidfile` >/dev/null 2>&1 || true rm -f $cvs_pserverd_pidfile >/dev/null 2>&1 || true fi fi