We need to use \$domains instead of \$domain when addin domains to the audit log.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2019-07-05 17:07:11 +02:00
parent 542aa8b4bc
commit dab155c2bf

View File

@@ -51,7 +51,7 @@ switch($type) {
echo shell_exec("sudo pihole --wild --web ".$domains);
break;
case "audit":
echo exec("sudo pihole -a audit ".$domain);
echo shell_exec("sudo pihole -a audit ".$domains);
break;
}