summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-08-15 17:39:43 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-08-15 17:39:43 -0400
commit5aa63654b8bd9f4d64967b9e77ba9d6f72f4f6e2 (patch)
treee816f68311e1a5a04d35fc46fb1458debfdbeabd
parentad1c1d1f8b32803589e979d13d7cab79b492167e (diff)
librechroot: Remove SYSTEMD-STDIN HACK
https://labs.parabola.nu/issues/431
-rwxr-xr-xsrc/chroot-tools/librechroot10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot
index d30e5b4..3ad651d 100755
--- a/src/chroot-tools/librechroot
+++ b/src/chroot-tools/librechroot
@@ -413,16 +413,6 @@ main() {
umask 0022
- # XXX: SYSTEMD-STDIN HACK
- if ! [[ -t 0 ]]; then
- error "Input is not a TTY"
- plain "https://labs.parabola.nu/issues/431"
- plain "https://bugs.freedesktop.org/show_bug.cgi?id=70290"
- prose "Due to a bug in systemd-nspawn, redirecting stdin is not
- supported." >&2
- return $EXIT_FAILURE
- fi
-
# Keep this lock for as long as we are running
# Note that '9' is the same FD number as in mkarchroot et al.
lock 9 "$copydir.lock" \