]> git.99rst.org Git - openwrt-packages.git/commitdiff
olsrd: record why the version check logs "Terminated"
authorJosef Schlehofer <redacted>
Mon, 10 Aug 2026 07:56:58 +0000 (09:56 +0200)
committerNick Hainke <redacted>
Thu, 13 Aug 2026 21:21:19 +0000 (23:21 +0200)
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 <redacted>
Co-authored-by: Claude Fable 5 <redacted>
net/olsrd/test-version.sh

index 629a619666955a27c5b21878bbd3479daea251c4..581b49176d72877b271588bce91408143e58cb84 100644 (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"
        ;;
 
git clone https://git.99rst.org/PROJECT