Workaround for hanging shells on exit
Damien Miller
djm at mindrot.org
Tue Jan 23 11:18:34 EST 2001
While browsing through bash's hugh manpage, I noticed that it has a
'huponexit' option which will send SIGHUP to all interactive processes
when the shell exits.
I have tested this and it does resolve the hanging at logout without
causing race conditions. I now have a "shopt -s huponexit" in my
/etc/bashrc and it works beautifully.
-d
--
| ``We've all heard that a million monkeys banging on | Damien Miller -
| a million typewriters will eventually reproduce the | <djm at mindrot.org>
| works of Shakespeare. Now, thanks to the Internet, /
| we know this is not true.'' - Robert Wilensky UCB / http://www.mindrot.org
More information about the openssh-unix-dev
mailing list