Bash Shell Script Exit Codes
Here is my daily stupid question:
How can I tell a script to only execute if the other scripts exits successfully?
So "script A" executes and if it executes successfully (0),then "script B" will run
or else
"script A "executes and it exits unsucessfully (1) then "script B" will read return code (1) and will not execute
Last edited by metallica1973; 03-14-2012 at 01:46 PM.
|