fix: exit after sudo
This commit is contained in:
parent
3e402bdc91
commit
95eb1178aa
@ -29,7 +29,7 @@ function add_opt() {
|
||||
}
|
||||
|
||||
if ! [ -w "/var/run/docker.sock" ] && [ "$EUID" != 0 ]; then
|
||||
sudo -- "$0" "$@"
|
||||
exec sudo -- "$0" "$@"
|
||||
fi
|
||||
|
||||
c=1
|
||||
|
Loading…
Reference in New Issue
Block a user