fix: Condition (#405)
This commit is contained in:
parent
5ac6e893ca
commit
933c336068
1 changed files with 2 additions and 4 deletions
|
@ -279,10 +279,8 @@ fi
|
||||||
|
|
||||||
if [[ "$DHCP" == [Yy1]* ]]; then
|
if [[ "$DHCP" == [Yy1]* ]]; then
|
||||||
|
|
||||||
if [[ "$GATEWAY" == "172."* ]]; then
|
if [[ "$GATEWAY" == "172."* ]] && [[ "$DEBUG" != [Yy1]* ]]; then
|
||||||
if [[ "$DEBUG" != [Yy1]* ]]; then
|
error "You can only enable DHCP while the container is on a macvlan network!" && exit 26
|
||||||
error "You can only enable DHCP while the container is on a macvlan network!" && exit 26
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Configuration for DHCP IP
|
# Configuration for DHCP IP
|
||||||
|
|
Loading…
Reference in a new issue