[CentOS] Certain scripts "hang" the terminal on logout

Fri Oct 24 15:51:20 UTC 2008
Matt Hyclak <hyclak at ohio.edu>

On Fri, Oct 24, 2008 at 10:48:53AM -0500, Sean Carolan enlightened us:
> I have an init script that after running, causes my terminal not to
> log out cleanly.  Here's what i mean:
> 
> # /etc/init.d/script restart  << this runs fine, returns my shell prompt
> # exit  <<  When I enter this command, my shell window just stays
> "stuck" and actually won't close down.
> 
> Anyone know why this happens?

Are you spawning/backgrounding jobs in the script?

Matt

-- 
Matt Hyclak
Systems and Operations 
Office of Information Technology
Ohio University
(740) 593-1222
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20081024/dd6f7ffa/attachment-0005.sig>