-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
rado wrote:
| can I indeed just capture the exit code for a return value that I can | pass on to the calling script, or if I decide, just to write the code | inside the main script?
Immediately after a command, $? has the exit code for you.
- -Andy -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFCUqzhjKeDCxMJCTIRAlpnAJ43DlIWfcAoYiG+QwC6sLuoKuHciwCglM/f F+WHeeL7x0Ss6NebqNHCuw4= =ZMpt -----END PGP SIGNATURE-----