X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fgcf2.t;h=d12a4420b5c01099bbb0b8bbd0ef8d94460afb8a;hb=4eee5af6011cc8cdefb66c9729952c7eff5c0b0b;hp=fa907c8be0d426725815a3c09645b704adb0ebd1;hpb=af0b0fb7a454470a32c452119d0392e0dedb3fe1;p=public-inbox.git diff --git a/t/gcf2.t b/t/gcf2.t index fa907c8b..d12a4420 100644 --- a/t/gcf2.t +++ b/t/gcf2.t @@ -114,7 +114,7 @@ SKIP: { $w->blocking($blk); seek($fh, 0, SEEK_SET) or BAIL_OUT "seek: $!"; truncate($fh, 0) or BAIL_OUT "truncate: $!"; - defined(my $pid = fork) or BAIL_OUT "fork: $!"; + my $pid = fork // BAIL_OUT "fork: $!"; if ($pid == 0) { close $w; tick; # wait for parent to block on writev