On Wed, 27 Jul 2005 15:46:00 +0200 Alexander Farber <[EMAIL PROTECTED]> wrote:
> Or if a user presses ctrl-C before the trap command is executed? > > 2005/7/27, Alexander Farber <[EMAIL PROTECTED]>: > > :-) What about ctrl-Z, does that "secure gateway menu" script ignore that > > too? > > > > 2005/7/27, Abel Talaversn Estevez <[EMAIL PROTECTED]>: > > > http://mongers.org/gw_menu > Mmh ... Instead of being a smartmouth, you should think a little about what would really happen and not make assumptions based on nothing. let's make the assumption that trap was not even called. If a user presses ctrl-c the script will exit, closing the user's session. What did you expect it to do ? Spawn a shell from nothing ? -- chaton@