1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-04-01 18:50:41 +03:00

Fix syntax error in cmirror init script

- break cannot be used here
 - remove CLVMDOPTS
 - add echo to stop call
This commit is contained in:
Milan Broz 2010-01-22 16:19:38 +00:00
parent 537f7456e2
commit 9a2cde9519
2 changed files with 4 additions and 6 deletions

View File

@ -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.

View File

@ -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
}