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:
parent
8d5391f1c3
commit
f25f57ae75
@ -21,6 +21,7 @@ LOCK_FILE="/var/lock/subsys/$DAEMON"
|
||||
|
||||
start()
|
||||
{
|
||||
rtrn=0
|
||||
if ! pidof $DAEMON > /dev/null
|
||||
then
|
||||
echo -n "Starting $DAEMON: "
|
||||
|
Loading…
Reference in New Issue
Block a user