AlbertAguirre
Programmer
I am setting "trap "" 1 2 3" at the top of the main script. I am trying to stop users from doing a CTRL-C out of the script onto the command line.
The mainscript has a menu that calls other scripts, but the user can CTRL-C out of these called scripts.
How do I avoid this without having to set the trap in every script that is called from the main script?
Thanx in advance
The mainscript has a menu that calls other scripts, but the user can CTRL-C out of these called scripts.
How do I avoid this without having to set the trap in every script that is called from the main script?
Thanx in advance