the GPG_TTY line in bashrc produces error message in chroot environment

"Zhang Wen" ([email protected] via blfs-dev Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <CAKjfnjo6wc1RCgqWNXnLse3WNNfTarhn=j+n7FbyReeH=_LRdQ@mail.gmail.com>
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.

-- 
Key fingerprint:
419F 72F3 F3A9 36EE 1B72  B00B C1C3 4BD4 FDA3 362F

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.