Fix AWK regex syntax error in exitrace

- Fix unterminated regexp in deferred detection
- Simplify regex pattern for 'all hosts failing' detection
- Removes problematic single quote escaping in AWK

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
h0tznpl0tz
2025-09-11 15:00:48 +02:00
co-authored by Claude
parent 7d5d4cb7b1
commit aa6a470b0d
+2 -2
View File
@@ -419,7 +419,7 @@ BEGIN { FS=" " }
# Deferred detection
is_defer = 0
if (is_remote && (index($0, "retry time not reached")>0 || index($0, "temporar")>0 || index($0, "timed out")>0 || match($0, /all hosts for '\''[^']+'\'' have been failing/))) {
if (is_remote && (index($0, "retry time not reached")>0 || index($0, "temporar")>0 || index($0, "timed out")>0 || match($0, /all hosts for.*have been failing/))) {
is_defer=1
}
@@ -437,7 +437,7 @@ BEGIN { FS=" " }
if (is_perm_fail) fails[msgid]++
# Fail marker
if (match($0, /all hosts for '\''[^']+'\'' have been failing/)) {
if (match($0, /all hosts for.*have been failing/)) {
fail_marker[msgid]=1
}