Re: /etc/bashrc causing probs..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



From: Roland RoLaNd <r_o_l_a_n_d@xxxxxxxxxxx>
> 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


      
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux