1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-18 06:08:21 +00:00

Transparency in sudo refire.

This commit is contained in:
Dan Schaper 2017-01-23 14:28:56 -08:00
parent b60e6310bf
commit 31aa42c35e
No known key found for this signature in database
GPG Key ID: 572E999E385B7BFC

View File

@ -1060,7 +1060,7 @@ main() {
if command -v sudo &> /dev/null; then
echo "::: Utility sudo located."
exec curl -sSL https://install.pi-hole.net | sudo bash "$@"
exec curl -sSL https://raw.githubusercontent.com/pi-hole/pi-hole/master/automated%20install/basic-install.sh | sudo bash "$@"
exit $?
else
echo "::: sudo is needed for the Web interface to run pihole commands. Please run this script as root and it will be automatically installed."