about summary refs log tree commit diff
path: root/xlint
diff options
context:
space:
mode:
authortriallax <triallax@tutanota.com>2023-06-26 11:51:57 +0100
committerLeah Neukirchen <leah@vuxu.org>2023-06-26 14:28:31 +0200
commit95274e1b5d5826d0248b1053388592cec744864e (patch)
tree5f4788b05ab33be2f6338051c2fcf9d3a4c5bd72 /xlint
parentc41f36d4f5153956f97bce655e94c45168cbc941 (diff)
downloadxtools-95274e1b5d5826d0248b1053388592cec744864e.tar.gz
xtools-95274e1b5d5826d0248b1053388592cec744864e.tar.xz
xtools-95274e1b5d5826d0248b1053388592cec744864e.zip
Clean up shell redirects
Some of these are outright wrong (e.g. `echo foo 2>&1`), others are just
more verbose than they need to be.

Closes: #304 [via git-merge-pr]
Diffstat (limited to 'xlint')
-rwxr-xr-xxlint2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlint b/xlint
index 5313f76..34be9d5 100755
--- a/xlint
+++ b/xlint
@@ -492,7 +492,7 @@ for argument; do
 	file_end
 	explain_make_check
 	else
-	echo no such template "$argument" 1>&2
+	echo no such template "$argument" >&2
 	fi | sort -t: -n -k2 -k3 | grep . && ret=1
 done
 exit $ret