fix: Close dnsmasq (#235)

* fix: Obsolete line

* fix: Close dnsmasq
This commit is contained in:
Kroese 2023-12-10 08:20:55 +01:00 committed by GitHub
parent 58c3041885
commit 6ef07f2ca3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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