mirror of https://github.com/pi-hole/pi-hole
With `sudo -E`, the whole environment is passed to the root shell, which is a potential security and/or privacy issue when command overrides/functions, PATH or private user info are passed. To pass `PIHOLE_SKIP_OS_CHECK=true`, it can be passed alone to the bash/script call within the sudo session, so the `-E` flag can be omitted. Signed-off-by: MichaIng <micha@dietpi.com>pull/4694/head
parent
9356d7bbb1
commit
2b124b1c69
Loading…
Reference in new issue