Skip to content

Commit

Permalink
prevent xargs from quiting with 123
Browse files Browse the repository at this point in the history
Some repositories have runs of file-like-objects which the word splitter
is unable to read. We want to keep processing readable files.
  • Loading branch information
jsoref committed Feb 21, 2020
1 parent e584b83 commit 8a7dfc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spelling-unknown-word-splitter.pl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@ARGV = grep {-r || $_ eq '-'} @ARGV;
unless (scalar @ARGV) {
print STDERR "None of the provided files are readable\n";
exit 1;
exit 0;
}
}

Expand Down

0 comments on commit 8a7dfc4

Please sign in to comment.