Introduction
Introduction Statistics Contact Development Disclaimer Help
sfeed_update: code-style and consistency: add some comments for functions - sfe…
git clone git://git.codemadness.org/sfeed
Log
Files
Refs
README
LICENSE
---
commit 04c76f86b66d2c30cadc6fef4df98cb3077ebcd9
parent cbf92f526528fc995e309d2f13b7dcebfd1e5c75
Author: Hiltjo Posthuma <[email protected]>
Date: Fri, 29 Dec 2023 13:56:42 +0100
sfeed_update: code-style and consistency: add some comments for functions
Diffstat:
M sfeed_update | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/sfeed_update b/sfeed_update
@@ -171,6 +171,7 @@ feed() {
"${config}" "${sfeedtmpdir}" "$1" "$2" "$3" "$4"
}
+# cleanup()
cleanup() {
# remove temporary directory with feed files.
rm -rf "${sfeedtmpdir}"
@@ -184,6 +185,7 @@ die() {
exit "${statuscode}"
}
+# sighandler(signo)
sighandler() {
signo="$1"
# ignore TERM signal for myself.
@@ -192,12 +194,14 @@ sighandler() {
kill -TERM -$$
}
+# feeds()
feeds() {
printf "Configuration file \"%s\" is invalid or does not contain a \"f…
echo "See sfeedrc.example for an example." >&2
die
}
+# main(args...)
main() {
# signal number received for parent.
signo=0
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.