mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +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()
|
start()
|
||||||
{
|
{
|
||||||
|
rtrn=0
|
||||||
if ! pidof $DAEMON > /dev/null
|
if ! pidof $DAEMON > /dev/null
|
||||||
then
|
then
|
||||||
echo -n "Starting $DAEMON: "
|
echo -n "Starting $DAEMON: "
|
||||||
|
Loading…
Reference in New Issue
Block a user