olsrd: record why the version check logs "Terminated"

olsrd leaves through olsr_exit(), which ends the process with
raise(SIGTERM) rather than returning from main, so the shell reports
"Terminated" right after the version banner even for a plain
`olsrd -v`. The pipeline status comes from grep, so the check itself
is unaffected, but the line in the CI log looks like a failure to
anyone reading it.

Note it in the script so the next reader does not go hunting.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Josef SchlehoferandClaude Fable 5 authored and Nick Hainke committed 2026-08-13 23:21:19 +02:00
1 parent 9c79e6bed3
commit 61972dae3a
1 file changed
+4
+4
View File
@@ -4,6 +4,10 @@
case "$PKG_NAME" in
olsrd)
# olsrd leaves through olsr_exit(), which ends the process with
# raise(SIGTERM) even for -v, so the shell reports "Terminated"
# after the banner. The pipeline status comes from grep, so the
# check is unaffected.
olsrd -v 2>&1 | grep -F "$PKG_VERSION"
;;