From 2684c737b0c9850aec1d9e23d6a4181430434027 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 14 Oct 2024 15:20:14 +0200 Subject: [PATCH] Update network.sh --- src/network.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/network.sh b/src/network.sh index a7bf4a3..7e3e762 100644 --- a/src/network.sh +++ b/src/network.sh @@ -239,7 +239,7 @@ configureNAT() { NET_OPTS+=",script=no,downscript=no" - ! configureDNS && return 1 + configureDNS || return 1 return 0 } @@ -376,7 +376,7 @@ if [[ "$DHCP" == [Yy1]* ]]; then fi # Configure for macvtap interface - ! configureDHCP && exit 20 + configureDHCP || exit 20 MSG="Booting DSM instance..." html "$MSG" @@ -412,7 +412,7 @@ else if [[ "${NETWORK,,}" == "user"* ]]; then # Configure for usermode networking (slirp) - ! configureUser && exit 24 + configureUser || exit 24 fi