[CentOS] /etc/bashrc causing probs..

Fri Jan 14 10:22:21 UTC 2011
John Doe <jdmls at yahoo.com>

From: Roland RoLaNd <r_o_l_a_n_d at hotmail.com>
> any idea how to prevent bashrc to execute the below to a no login shell ? or 
>any 
>
> other advice for that matter.

Maybe try:
  if shopt -q login_shell; then
    ...
  fi

JD