fix: exit after sudo

This commit is contained in:
AngeD 2022-10-22 22:05:22 +02:00
parent 3e402bdc91
commit 95eb1178aa

View File

@ -29,7 +29,7 @@ function add_opt() {
} }
if ! [ -w "/var/run/docker.sock" ] && [ "$EUID" != 0 ]; then if ! [ -w "/var/run/docker.sock" ] && [ "$EUID" != 0 ]; then
sudo -- "$0" "$@" exec sudo -- "$0" "$@"
fi fi
c=1 c=1