From 9861f117e9464d85f67c1d73c1e0aadac533ba98 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- 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 } }