Re: the GPG_TTY line in bashrc produces error message in chroot environment
| Newsgroups | gmane.linux.lfs.beyond.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 2025-10-18 at 12:17 +0800, Zhang Wen wrote: > The root cause is while the tty command returns non-zero in the chroot > environment, the 'tty -s' command returns a zero value. > I changed 'tty -s' to 'tty > /dev/null 2>&1' and the error message > disappeared, not sure if there's a better solution. I'd say it's a coreutils bug and it should be reported to the coreutils developers. "tty -s" should have the same exit status as "tty". -- Xi Ruoyao <[email protected]> -- http://lists.linuxfromscratch.org/sympa/info/blfs-dev Unsubscribe: See the above information page