1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-19 06:38:17 +00:00

fixed local declaration before assignment

Signed-off-by: snapsl <chris.baller@gmx.de>
This commit is contained in:
snapsl 2019-08-15 11:20:55 +02:00
parent b2d8c4374b
commit 20a839fef5

View File

@ -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"
}