From 8bdb849e449c5236a1ef7e8b4b91186790f7fb29 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Wed, 27 Dec 2023 13:16:40 +0100 Subject: 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. --- sfeed_update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfeed_update') 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. -- cgit v1.2.3