[CentOS] /etc/bashrc causing probs..

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


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


      



More information about the CentOS mailing list