From cf903938eceb0188c9ecd405e6c89b63b1c8910d Mon Sep 17 00:00:00 2001 From: Jakub Libosvar Date: Mon, 20 Jan 2014 18:18:58 +0100 Subject: [PATCH] Added missing sudo when killing ns-metadata Closes-bug: #1269982 Change-Id: Ib6b641a8d5c92fb4a8aaed6b5d7b63e66acd6bd9 --- lib/neutron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/neutron b/lib/neutron index 465b57cc35..4b280d1d53 100644 --- a/lib/neutron +++ b/lib/neutron @@ -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