[EMAIL PROTECTED] writes:

> Uurrppss... yes I found that out the hard way. I have only one more
> problem now: one of the if-then-else routines has an "exit" command. It

Use return instead of exit. Of course, that only works in sourced scripts...

...and yes, if you use exit in a sourced script, your shell will exit.
Not fun.

Maybe see the Bash Scripting Guide for more details? linuxdoc.org

Sacha 8)
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to