Merge pull request #10 from javacruft/master
L3 Agent Shutdown should not kill dnsmasq instances
This commit is contained in:
commit
7413c2672d
|
@ -274,7 +274,6 @@ quantum_l3_agent_stop() {
|
||||||
|
|
||||||
# Try SIGTERM
|
# Try SIGTERM
|
||||||
pid=`cat $OCF_RESKEY_pid`
|
pid=`cat $OCF_RESKEY_pid`
|
||||||
pid="$pid `ps ax | grep -v grep | grep 'dnsmasq' | cut -c1-5`"
|
|
||||||
ocf_run kill -s TERM $pid
|
ocf_run kill -s TERM $pid
|
||||||
rc=$?
|
rc=$?
|
||||||
if [ $rc -ne 0 ]; then
|
if [ $rc -ne 0 ]; then
|
||||||
|
|
Loading…
Reference in New Issue