Quote:
Originally Posted by
Zelp
This does display my options again for me, but how do I get out of the big loop now?
Have another flag, instead of "while true" have "while test "$RUNNING" = "1"" or similar.... set the flag beforehand, and set it to zero when you want to exit.
Or, depending on your script, you could really call exit, and if you had cleaning up to do, put it in a trap 0 function.