diff --git a/src/display.sh b/src/display.sh index 6c2fc6c..0280020 100644 --- a/src/display.sh +++ b/src/display.sh @@ -16,7 +16,7 @@ case "${DISPLAY,,}" in ;; none) DISPLAY_OPTS="-display none -vga none" - ;; + ;; *) DISPLAY_OPTS="-display $DISPLAY -vga $VGA" ;; diff --git a/src/network.sh b/src/network.sh index 07e6a75..61e8506 100644 --- a/src/network.sh +++ b/src/network.sh @@ -106,7 +106,7 @@ getPorts() { fi [ -z "$list" ] && return 0 - + if [[ "$list" != *","* ]]; then echo " ! --dport $list" else