From 1a2f5cb116281f0b863e54b59d43282bd21d5b57 Mon Sep 17 00:00:00 2001 From: cschantz Date: Wed, 31 Dec 2025 22:24:55 -0500 Subject: [PATCH] Fix bash syntax error caused by apostrophe in awk comment The comment "it's too old" contained an apostrophe (single quote) which broke the bash single-quote enclosure of the awk script, causing: "syntax error near unexpected token '}'" Changed to "too old" to avoid the apostrophe. In bash, single-quoted strings cannot contain single quotes/apostrophes. --- modules/security/bot-analyzer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/security/bot-analyzer.sh b/modules/security/bot-analyzer.sh index 6c91add..163b1fb 100755 --- a/modules/security/bot-analyzer.sh +++ b/modules/security/bot-analyzer.sh @@ -404,7 +404,7 @@ parse_logs() { # Numerical comparison of epoch seconds if (log_epoch != "" && log_epoch < cutoff_epoch) { - next # Skip this entry, it's too old + next # Skip this entry, too old } }