in reply to exit EXPR
The number given to exit will be the return code of your program, so that any calling script will have something to chew on.
Whether 1 is true or false depends only on what the calling script makes of it.
Some may interpret anything else than 0 as an error.