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:
parent
537f7456e2
commit
9a2cde9519
@ -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.
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user