2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-21 16:39:32 +00:00

Return the status nodeeventlog worked out

Every error branch set exitcode and the script then ran off the end, so
a node that could not be read, or a log source that matched nothing,
still exited 0.
This commit is contained in:
Markus Hilger
2026-08-15 13:46:59 +02:00
parent c13a434246
commit 57b3fae0ed
+2
View File
@@ -230,3 +230,5 @@ if options.lines and not listmode:
print('{0}: {1}'.format(node, format_event(evt)))
else:
print('{0}: {1}'.format(node, format_event(evt)))
sys.exit(exitcode)