But i want to put in a option to exit... (5 Replies) Answers such as this seem based on "exit", but if the script is sourced, i.e. ./