Added missing sudo when killing ns-metadata

Closes-bug: #1269982
Change-Id: Ib6b641a8d5c92fb4a8aaed6b5d7b63e66acd6bd9
This commit is contained in:
Jakub Libosvar 2014-01-20 18:18:58 +01:00
parent 3f5250fff3
commit cf903938ec

View File

@ -505,7 +505,7 @@ function stop_neutron() {
[ ! -z "$pid" ] && sudo kill -9 $pid
fi
if is_service_enabled q-meta; then
pkill -9 -f neutron-ns-metadata-proxy
sudo pkill -9 neutron-ns-metadata-proxy || :
fi
if is_service_enabled q-lbaas; then