diff --git a/scripts/pi-hole/php/savesettings.php b/scripts/pi-hole/php/savesettings.php index 763d2322..d9aadbce 100644 --- a/scripts/pi-hole/php/savesettings.php +++ b/scripts/pi-hole/php/savesettings.php @@ -134,7 +134,6 @@ function validDomain($domain_name) { exec("sudo pihole -a setdns ".$primaryIP." ".$secondaryIP." ".$extra); $success .= "The DNS settings have been updated"; - $success = "sudo pihole -a setdns ".$primaryIP." ".$secondaryIP." ".$extra; } else {