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] --- xchroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xchroot') diff --git a/xchroot b/xchroot index b86819a..d01979c 100755 --- a/xchroot +++ b/xchroot @@ -2,7 +2,7 @@ # xchroot DIR [CMD...] - chroot into a Void (or other Linux) installation fail() { - printf '%s\n' "$1" 1>&2 + printf '%s\n' "$1" >&2 exit 1 } -- cgit 1.4.1