Unverified Commit 6ef07f2c authored by Kroese's avatar Kroese Committed by GitHub
Browse files

fix: Close dnsmasq (#235)

* fix: Obsolete line

* fix: Close dnsmasq
parent 58c30418
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -18,4 +18,3 @@ info "Booting image using $VERS..."

[[ "$DEBUG" == [Yy1]* ]] && set -x
exec qemu-system-x86_64 ${ARGS:+ $ARGS}
{ set +x; } 2>/dev/null
+2 −0
Original line number Diff line number Diff line
@@ -173,6 +173,8 @@ closeNetwork () {

  else

    { pkill -f dnsmasq || true; } 2>/dev/null

    ip link set "$VM_NET_TAP" down promisc off || true
    ip link delete "$VM_NET_TAP" || true