1
0
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:
Peter Rajnoha 2012-02-27 08:56:46 +00:00
parent 7e9fbf5518
commit 56ca71bd8e

View File

@ -63,7 +63,7 @@ start()
stop() stop()
{ {
ret=0 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 return $ret
} }