From 9a2cde951930108fa8d4954d796850601b37901a Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Fri, 22 Jan 2010 16:19:38 +0000 Subject: [PATCH] Fix syntax error in cmirror init script - break cannot be used here - remove CLVMDOPTS - add echo to stop call --- WHATS_NEW | 1 + scripts/cmirrord_init_red_hat.in | 9 +++------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/WHATS_NEW b/WHATS_NEW index 90cab15fe..ad8c1915a 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.60 =================================== + Fix syntax error in cmirror init script. Eliminate extra ioctls just to check open_count in _add_new_lv_to_dtree. Disable not thread-safe memory debugging if dmeventd is configured. Fix first log message prefix in syslog for dmeventd plugins. diff --git a/scripts/cmirrord_init_red_hat.in b/scripts/cmirrord_init_red_hat.in index 997495a74..ab3b7fb47 100755 --- a/scripts/cmirrord_init_red_hat.in +++ b/scripts/cmirrord_init_red_hat.in @@ -24,14 +24,10 @@ start() if ! pidof $DAEMON > /dev/null then echo -n "Starting $DAEMON: " - daemon $DAEMON $CLVMDOPTS + daemon $DAEMON rtrn=$? echo - if [ $rtrn -ne 0 ] - then - break - fi - fi + fi return $rtrn } @@ -41,6 +37,7 @@ stop() echo -n "Stopping $DAEMON:" killproc $DAEMON -TERM rtrn=$? + echo return $rtrn } -- 2.43.5