I have a shell script that executes a number of commands. How do I make the shell script exit if any of the commands exit with a non-zero exit code?

9 Answers
9

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *