Exit Script on Command Failure

Checks the exit code of the last command and aborts with an error message if it failed.

Variables

Command


        
2 views 0 copies
Log in to rate
Log in to save

Free account — save snippets into your own collections.