sfeed

simple feed reader - forked from git.codemadness.org/sfeed
git clone git://src.gearsix.net/sfeed
Log | Files | Refs | Atom | README | LICENSE

commit 317d08eee3494234e1e5f84fca0240abfdc8e2f5
parent ceefac3e911b84c8aa8d215a3f7ec651aaeb4800
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Wed,  3 Mar 2021 18:12:34 +0100

sfeed_update: return instead of exit in main() on success

This is useful so the script can be included, call main and then have
additional post-main functionality.

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

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