commit 8bdb849e449c5236a1ef7e8b4b91186790f7fb29
parent 20bfe3d26d68d69539740110d3663b7853dad0e2
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 27 Dec 2023 13:16:40 +0100
sfeed_update: suppress output to stderr, like merge() already does
Noticed while testing TMPDIR=/noaccess sort on Illumos/OpenIndiana, which gives
a warning to stderr. For sort temporary directories might be used for large
output.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sfeed_update b/sfeed_update
@@ -85,7 +85,7 @@ merge() {
# order by timestamp (descending).
# order(name, url)
order() {
- sort -t ' ' -k1rn,1
+ sort -t ' ' -k1rn,1 2>/dev/null
}
# internal handler to fetch and process a feed.