mirror of
https://github.com/pi-hole/web.git
synced 2026-04-21 01:10:19 +01:00
Add export to avoid docker error message
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
@@ -50,9 +50,9 @@ function echoEvent($datatext) {
|
||||
}
|
||||
|
||||
if (isset($_GET["upload"])) {
|
||||
$proc = popen("sudo pihole -d -a -w", "r");
|
||||
$proc = popen("export TERM=dumb && sudo pihole -d -a -w", "r");
|
||||
} else {
|
||||
$proc = popen("sudo pihole -d -w", "r");
|
||||
$proc = popen("export TERM=dumb && sudo pihole -d -w", "r");
|
||||
}
|
||||
|
||||
while (!feof($proc)) {
|
||||
|
||||
Reference in New Issue
Block a user