]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/check-www-inbox.perl
treewide: run update-copyrights from gnulib for 2019
[public-inbox.git] / t / check-www-inbox.perl
index db292c5064a252b48c316b6e4d3d7d43a023a7b0..dc463ea82e1c1ab8d757c0676d147bbf487ce35c 100644 (file)
@@ -1,5 +1,5 @@
 #!/usr/bin/perl -w
-# Copyright (C) 2016-2019 all contributors <meta@public-inbox.org>
+# Copyright (C) 2016-2020 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 # Parallel WWW checker
 my $usage = "$0 [-j JOBS] [-s SLOW_THRESHOLD] URL_OF_INBOX\n";
@@ -48,7 +48,6 @@ my $atom_check = eval {
                        2 => fileno($err_fh),
                };
                my $pid = spawn($cmd, undef, $rdr);
-               defined $pid or die "spawn failure: $!";
                while (waitpid($pid, 0) != $pid) {
                        next if $!{EINTR};
                        warn "waitpid(xmlstarlet, $pid) $!";