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