Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Unsquashfs: set exit code to 2 for non-fatal errors
An issue raised on GitHub #107 asks if fatal and non-fatal errors could return different exit codes. This is a good idea, and easily implemented. Fatal errors immediately exit with an exit code of 1. Non fatal errors propagate back to the main function where the exit_code is set to 1. Changing the exit_code here to 2, will distinquish between fatal and non-fatal errors. Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
- Loading branch information