diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-04-15 11:24:07 +0000 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-04-15 13:31:58 +0200 |
commit | 99b7d47a10d38b990badf2ea57c7032f12d7cdb5 (patch) | |
tree | 8fa9335e5983eadcc40d0ac6afeafd10a34b7d02 /contrib | |
parent | e56f8ad294d269bcb918c15168bf7b0c4f858fb4 (diff) | |
download | mblaze-99b7d47a10d38b990badf2ea57c7032f12d7cdb5.tar.gz mblaze-99b7d47a10d38b990badf2ea57c7032f12d7cdb5.tar.xz mblaze-99b7d47a10d38b990badf2ea57c7032f12d7cdb5.zip |
msuck: exit unsuccessfully if some groups failed
The failing exit status is EX_UNAVAILABLE from BSD's sysexits.h.
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/msuck | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/msuck b/contrib/msuck index 3fe58b7..d75591f 100755 --- a/contrib/msuck +++ b/contrib/msuck @@ -66,6 +66,7 @@ ARGV.each { |group| msg = nntp.gets unless msg =~ /^211 / STDERR.puts msg + $exit = 69 next end @@ -135,3 +136,5 @@ ARGV.each { |group| puts } + +exit $exit || 0 |