From 95274e1b5d5826d0248b1053388592cec744864e Mon Sep 17 00:00:00 2001 From: triallax Date: Mon, 26 Jun 2023 11:51:57 +0100 Subject: 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] --- xdistdir | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xdistdir') diff --git a/xdistdir b/xdistdir index 4fdee68..1efea85 100755 --- a/xdistdir +++ b/xdistdir @@ -17,7 +17,7 @@ elif [ -d ~/src/void-packages ]; then elif [ -d ~/src/xbps-packages ]; then echo ~/src/xbps-packages else - echo "xdistdir: can't find your void-packages tree, giving up" 1>&2 - echo "xdistdir: please export XBPS_DISTDIR=/path/to/void-packages" 1>&2 + echo "xdistdir: can't find your void-packages tree, giving up" >&2 + echo "xdistdir: please export XBPS_DISTDIR=/path/to/void-packages" >&2 exit 111 fi -- cgit 1.4.1