Stderr message unknow origin

General discussion of the Co:Z Toolkit
Post Reply
usaajrm
Posts: 87
Joined: Tue Feb 06, 2007 3:46 pm

Stderr message unknow origin

Post by usaajrm »

Hello again.
I'm getting 3 messages at the top of stderr: "stty: standard input: Invalid argument "
Be nice if this is a newbie problem. I do not see what is generating these messages. The job i'm using coz launcher in is working as expected. Its not causing any problem. Yet, I'm am curious.
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

I assume that you are referring to //STDERR DD, which is redirected from the target server.

This is caused by the target server's login script (.profile, /etc/profile, bash profile, etc) doing an "stty" command when there isn't a tty connected.

Such profile scripts need to test whether there is a tty using something like:

Code: Select all

if [ tty -s ]; then
  # commands here that require a tty
fi
Post Reply