From 8a6ea09adc8b8c314302ca59f3ea74a417f21b40 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Mon, 2 Aug 2010 14:59:38 +0200 Subject: [PATCH] OK value printed twice Fix based on 615107. There were too many OK's messages. --- cronie.init | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cronie.init b/cronie.init index 228431d..1c520b9 100755 --- a/cronie.init +++ b/cronie.init @@ -44,11 +44,10 @@ start() { [ -x $exec ] || exit 5 [ -f $config ] || exit 6 echo -n $"Starting $prog: " - daemon $prog $CRONDARGS && success || failure + daemon $prog $CRONDARGS retval=$? echo [ $retval -eq 0 ] && touch $lockfile - return $retval } stop() { @@ -66,7 +65,6 @@ stop() { retval=$? echo [ $retval -eq 0 ] && rm -f $lockfile - return $retval } restart() { -- 2.40.0