Permalink
Browse files

[answerback] only exec if we are ssh'd

  • Loading branch information...
1 parent 0cbb34a commit 43d560cf0f9736f90c841120092b88e5df2ba424 @majnemer committed Oct 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 commonsh/02_term
View
2 commonsh/02_term
@@ -70,7 +70,7 @@ if command -v infocmp >/dev/null 2>&1 ; then
if [ "${COLORTERM}" = "gnome-terminal" ] ; then
TERM="xterm-256color"
fi
- else
+ elif [ -n "${SSH_TTY}" ] ; then
answerback_cmd="answerback.`uname -s`"
if command -v ${answerback_cmd} >/dev/null 2>&1 ; then
ANSWERBACK=`${answerback_cmd} 2>/dev/null`

0 comments on commit 43d560c

Please sign in to comment.