fix: Close file descriptors (#261)
This commit is contained in:
parent
21bbfcbbb7
commit
55473e7ff9
1 changed files with 3 additions and 0 deletions
|
@ -166,6 +166,9 @@ configureNAT () {
|
|||
|
||||
closeNetwork () {
|
||||
|
||||
exec 30<&- || true
|
||||
exec 40<&- || true
|
||||
|
||||
if [[ "$DHCP" == [Yy1]* ]]; then
|
||||
|
||||
ip link set "$VM_NET_TAP" down || true
|
||||
|
|
Loading…
Reference in a new issue