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.
This commit is contained in:
cschantz
2025-12-31 22:24:55 -05:00
parent 3730f8bd0c
commit 1a2f5cb116
+1 -1
View File
@@ -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
}
}