From 20a839fef58e463333ba1c08d5fe9d9bee8fd5e1 Mon Sep 17 00:00:00 2001 From: snapsl Date: Thu, 15 Aug 2019 11:20:55 +0200 Subject: [PATCH] fixed local declaration before assignment Signed-off-by: snapsl --- advanced/Scripts/webpage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/Scripts/webpage.sh b/advanced/Scripts/webpage.sh index b799d67d..39299960 100755 --- a/advanced/Scripts/webpage.sh +++ b/advanced/Scripts/webpage.sh @@ -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" }