sudo when killing dnsmasq

This commit is contained in:
Anthony Young 2011-09-20 02:23:54 -07:00
parent db8f7f7253
commit 09fde81cc4

View file

@ -321,7 +321,7 @@ fi
if [[ "$ENABLED_SERVICES" =~ "n-net" ]]; then if [[ "$ENABLED_SERVICES" =~ "n-net" ]]; then
# delete traces of nova networks from prior runs # delete traces of nova networks from prior runs
killall dnsmasq || true sudo killall dnsmasq || true
rm -rf $NOVA_DIR/networks rm -rf $NOVA_DIR/networks
mkdir -p $NOVA_DIR/networks mkdir -p $NOVA_DIR/networks
fi fi