fixed local declaration before assignment

Signed-off-by: snapsl <chris.baller@gmx.de>
pull/2874/head
snapsl 5 years ago
parent b2d8c4374b
commit 20a839fef5

@ -538,8 +538,8 @@ Interfaces:
}
Teleporter() {
datetimestamp=$(date "+%Y-%m-%d_%H-%M-%S")
local datetimestamp
datetimestamp=$(date "+%Y-%m-%d_%H-%M-%S")
php /var/www/html/admin/scripts/pi-hole/php/teleporter.php > "pi-hole-teleporter_${datetimestamp}.tar.gz"
}

Loading…
Cancel
Save