summaryrefslogtreecommitdiff
path: root/sfeed_update
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2023-12-27 13:16:40 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2023-12-27 13:16:40 +0100
commit8bdb849e449c5236a1ef7e8b4b91186790f7fb29 (patch)
tree07dc653bc168340cac92df706f531d599e803577 /sfeed_update
parent20bfe3d26d68d69539740110d3663b7853dad0e2 (diff)
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 (limited to 'sfeed_update')
-rwxr-xr-xsfeed_update2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_update b/sfeed_update
index 94b64df..85cd759 100755
--- 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.