Commit
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
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.
- Loading branch information
Showing
1 changed file
with
30 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters