From 23867332312c1a5d96838b6c256064740a5749bd Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Thu, 29 Apr 2021 10:22:21 +0200 Subject: [PATCH] =?UTF-8?q?bash=20syntax=20:=20``=20=E2=86=92=20$()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apache/files/save_apache_status.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache/files/save_apache_status.sh b/apache/files/save_apache_status.sh index 8ca29f15..12f8faed 100644 --- a/apache/files/save_apache_status.sh +++ b/apache/files/save_apache_status.sh @@ -4,7 +4,7 @@ set -e DIR="/var/log/apache-status" URL="http://127.0.0.1/server-status" -TS=`date +%Y%m%d%H%M%S` +TS=$(date +%Y%m%d%H%M%S) FILE="${DIR}/${TS}.html" if [ ! -d "${DIR}" ]; then