diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2023-04-05 21:41:19 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2023-04-05 21:41:19 +0200 |
commit | 5a27c58675ddf4113d64a84f715cb3fecb681a6d (patch) | |
tree | b7260cf41d14fbd0c9ae7c13705b043d2befcb06 /sfeed_twtxt.c | |
parent | 92dfc055ce7a24bc8120c7eece3caca0ae84b653 (diff) |
sfeed_update: fail early if creating a temporary directory or status file fails
If creating a temporary directory for the feed files failed then $sfeedtmpdir
would be empty and it would try to:
mkdir -p "/feed"
touch "/feed/ok"
After failing it would also still try to process all the feeds.
Now just fail early.
mktemp or touch themselve will print the actual error to stderr.
Diffstat (limited to 'sfeed_twtxt.c')
0 files changed, 0 insertions, 0 deletions