stderr is not a tty again.

來源: slacktty 2004-03-12 14:12:04 [] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (522 bytes)
I checked .bashrc .bash_profile and /etc/profile but can't find any hint. A funny thing is that if I source /etc/profile in .bashrc, the "stderr is not a tty - where are you?" error will appear. If I "cp /etc/profile ~/profile" and then source ~/profile in .bashrc, there will be no such error message. Even if I delete /etc/profile and still keep ". /etc/profile" in .bashrc, the error message appears. Anyone knows what's wrong? Thanks in advance.
By the way, thanks tty and echo for your previous kind reply.

所有跟帖: 

看看 /etc/profile.d -tty- 給 tty 發送悄悄話 (0 bytes) () 03/12/2004 postreply 17:13:10

nothing special there. -slacktty- 給 slacktty 發送悄悄話 (108 bytes) () 03/12/2004 postreply 19:39:55

請您先登陸,再發跟帖!