Is there any way to exit from the login shell if you aren't in it (ie. running a script)?
Is there any way to exit from the login shell if you aren't in it (ie. running a script)?
Other shells may handle signals differently; check your shell documentation.