From 225c2791fe2f6af4da9f9b0a2bbe2d7d02feeeaa Mon Sep 17 00:00:00 2001 From: DL6ER Date: Thu, 12 Jan 2017 16:30:18 +0100 Subject: [PATCH] Remove debug statement --- scripts/pi-hole/php/savesettings.php | 1 - 1 file changed, 1 deletion(-) 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 {