diff options
author | triallax <triallax@tutanota.com> | 2023-06-26 11:51:57 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2023-06-26 14:28:31 +0200 |
commit | 95274e1b5d5826d0248b1053388592cec744864e (patch) | |
tree | 5f4788b05ab33be2f6338051c2fcf9d3a4c5bd72 /xchroot | |
parent | c41f36d4f5153956f97bce655e94c45168cbc941 (diff) | |
download | xtools-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 'xchroot')
-rwxr-xr-x | xchroot | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |