summaryrefslogtreecommitdiff
path: root/sfeed_update
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2018-10-24 18:41:03 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2018-10-24 18:41:03 +0200
commit5003c693a993833fdea2efe986dc59746a91959a (patch)
treea1e97910d451c22992db59f743f958f3608207eb /sfeed_update
parent9eafdfc22a0338b5171d24ce39e6f723b0212055 (diff)
sfeed_update: fix wrong comment "temporary file" -> "temporary directory"
Diffstat (limited to 'sfeed_update')
-rwxr-xr-xsfeed_update4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeed_update b/sfeed_update
index 5ee99ee..a5f09e3 100755
--- 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}"