commit 5003c693a993833fdea2efe986dc59746a91959a
parent 9eafdfc22a0338b5171d24ce39e6f723b0212055
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 24 Oct 2018 18:41:03 +0200
sfeed_update: fix wrong comment "temporary file" -> "temporary directory"
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sfeed_update b/sfeed_update
@@ -120,7 +120,7 @@ feed() {
}
cleanup() {
- # remove temporary files.
+ # remove temporary directory with feed files.
rm -rf "${sfeedtmpdir}"
}
@@ -147,7 +147,7 @@ trap -- "sighandler 2" "INT"
trap -- "sighandler 15" "TERM"
# load config file.
loadconfig "$1"
-# fetch feeds and store in temporary file.
+# fetch feeds and store in temporary directory.
sfeedtmpdir="$(mktemp -d '/tmp/sfeed_XXXXXX')"
# make sure path exists.
mkdir -p "${sfeedpath}"