1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Fix bug 632681: cmirrord shouldn't fail 'start' if already started

Return 0 from the cmirrord init script if the daemon is already
running.

http://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
This commit is contained in:
Jonathan Earl Brassow 2011-01-04 21:16:54 +00:00
parent 8d5391f1c3
commit f25f57ae75

View File

@ -21,6 +21,7 @@ LOCK_FILE="/var/lock/subsys/$DAEMON"
start()
{
rtrn=0
if ! pidof $DAEMON > /dev/null
then
echo -n "Starting $DAEMON: "