From 2f80018f51ad27f50ed4aff2ec2bd79c9a57c822 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 27 Jan 2017 22:02:26 +0100 Subject: [PATCH] Echo OK if everything was successful --- scripts/pi-hole/php/takeout.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/pi-hole/php/takeout.php b/scripts/pi-hole/php/takeout.php index 61ac7d42..d3f91c51 100644 --- a/scripts/pi-hole/php/takeout.php +++ b/scripts/pi-hole/php/takeout.php @@ -101,6 +101,8 @@ if($_POST["action"] == "in") echo exec("sudo pihole -wild -q ".implode(" ", $wildlist)); } + echo "OK"; + $zip->close(); } else