change sudo to $SUDO.

This commit is contained in:
redxef 2021-10-12 11:52:50 +02:00
parent 6f9d03ebaa
commit 0bbaed4d3f

2
start
View file

@ -35,7 +35,7 @@ cd "$(dirname "$0")"
$SUDO true
NET_CONF_FILE="$(sudo mktemp)"
NET_CONF_FILE="$($SUDO mktemp)"
# create bridge
NET_CONF_FILE="$NET_CONF_FILE" $DEBUG $SUDO --preserve-env=NET_CONF_FILE \