Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplified logic and quoted some parameters
* `command; if [ $? -ne 0 ]; then foo; fi` can be simplified to `if command; then foo; fi` which can be simplified to `command || foo`. * There is no need to stipulate the return code to `exit` since it will adopt the failure code of the last command executed.
- Loading branch information