Return an exit code of 1 if any anomalous input encountered.
Previously pigz would return an exit code of 0 if there were no serious errors, e.g. I/O errors or insufficient memory. Now pigz will return 1 if it encounters any issues, such as invalid or unrecognized compressed data, file names without the expected suffix, trying to overwrite a file, etc. Since pigz can process multiple input files, it will return an exit code of 0 if there were no issues, and will return an exit code of 1 if one or more of the inputs had an issue.
Showing with 30 additions and 28 deletions