mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Use 'killproc' fn in lvmetad init script (fn provided by 'functions' init script library).
This commit is contained in:
parent
7e9fbf5518
commit
56ca71bd8e
@ -63,7 +63,7 @@ start()
|
||||
stop()
|
||||
{
|
||||
ret=0
|
||||
action "Signaling LVM metadata daemon to exit:" kill -TERM $(pidofproc -p $PID_FILE $DAEMON) || ret=$?
|
||||
action "Signaling LVM metadata daemon to exit:" killproc -p $PID_FILE $DAEMON -TERM || ret=$?
|
||||
return $ret
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user