From: Josef Schlehofer Date: Mon, 10 Aug 2026 07:56:58 +0000 (+0200) Subject: olsrd: record why the version check logs "Terminated" X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=61972dae3af03f5f8ac757b9520eb6f2ebe2eb21;p=openwrt-packages.git 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 Co-authored-by: Claude Fable 5 --- diff --git a/net/olsrd/test-version.sh b/net/olsrd/test-version.sh index 629a61966..581b49176 100644 --- a/net/olsrd/test-version.sh +++ b/net/olsrd/test-version.sh @@ -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" ;;