From ed4d18391002226cd8a7e02cb7690e2c7c661b1a Mon Sep 17 00:00:00 2001 From: catttam Date: Mon, 14 Oct 2024 11:24:09 +0200 Subject: [PATCH] Fixed log_path --- extract_goaccess_metrics.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extract_goaccess_metrics.sh b/extract_goaccess_metrics.sh index 286b092..6f5ec2f 100755 --- a/extract_goaccess_metrics.sh +++ b/extract_goaccess_metrics.sh @@ -71,7 +71,7 @@ do fi done -for logfile in "$LOCAL_LOGS_DIR/$log/oscar/"*; +for logfile in "$LOCAL_LOGS_DIR/$log_path/oscar/"*; do if [[ $logfile == *".log"* ]]; then if [[ $logfile == *".log" ]]; then