From 336f678445773116177d0be29a5082c00c1132b0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Tue, 13 Nov 2007 17:43:10 +0000 Subject: [PATCH] * to much c-coding spoilz bash-sk1lz --- citadel/debian/citadel.init | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/citadel/debian/citadel.init b/citadel/debian/citadel.init index 20f948881..15dcdbf91 100644 --- a/citadel/debian/citadel.init +++ b/citadel/debian/citadel.init @@ -74,15 +74,15 @@ do_stop() # other if a failure occurred if $SENDCOMMAND "DOWN" >/dev/null 2>&1 ; then rm -f $PIDFILE - count=1; + count=0; while test -S /var/run/citadel/citadel.socket; do count=$(($count+1)) sleep 1 echo -n "." - if test "$count" == "10"; then + if test "$count" = "10"; then killall citserver fi - if test "$count" == "20"; then + if test "$count" = "20"; then killall -9 citserver rm -rf /var/run/citadel/* fi -- 2.30.2