What is the purpose of the following line in /etc/profile.d/ssh-key.sh ?
[ $SHLVL -gt 1 ] && EXIT=exit || EXIT=return
It prevents me from opening any sub-shell like screen (or ctrl-o in
midnight-commander).
Is it really necessary to check the shell level?
When I comment out the following "$EXIT $?" statements, sub-shells work
fine, and I haven't seen any unwanted side effects.
This is on Rocks 5.4.3
Thanks,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20120112/f4ff10e0/attachment.html
Sincerely,
Luca