]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
vstart/stop: use pkill instead of killall
authorLoic Dachary <loic@dachary.org>
Mon, 16 Dec 2013 15:27:34 +0000 (16:27 +0100)
committerLoic Dachary <loic@dachary.org>
Tue, 17 Dec 2013 12:48:18 +0000 (13:48 +0100)
commitd93881f3c8ab634da782894d5dfc1755569e8cf2
treeaeff3dae9daebf5d2bef7799954415fa9b4a5e05
parentae56cef39637c7f0ebfa32ec0f0a3c2db171e50b
vstart/stop: use pkill instead of killall

killall fails to kill all OSDs when called as a oneliner. Replace with a
loop using pkill that retries until there are no more process to kill by
the required name.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/stop.sh