sfeed

Simple RSS and Atom feed parser
git clone https://git.sinitax.com/codemadness/sfeed
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit df2250aa196b674c0783d3ba1862b1cfb5df5719
parent 2a47f88faae8e1e794c53ee7653d16dbe034bb15
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon, 28 Mar 2022 13:07:58 +0200

sfeed_update: change return to exit in main

Pedantic change:

Make main more consistent since other functions in it exit too and main is not
supposed to return or used like that.

Diffstat:
Msfeed_update | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sfeed_update b/sfeed_update @@ -219,7 +219,7 @@ main() { cleanup # on signal SIGINT and SIGTERM exit with signal number + 128. [ ${signo} -ne 0 ] && exit $((signo+128)) - return ${status} + exit ${status} } [ "${SFEED_UPDATE_INCLUDE}" = "1" ] || main "$@"