about summary refs log tree commit homepage
path: root/t/imap_tracker.t
diff options
context:
space:
mode:
Diffstat (limited to 't/imap_tracker.t')
-rw-r--r--t/imap_tracker.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/imap_tracker.t b/t/imap_tracker.t
index 01e1d0b1..90dea99f 100644
--- a/t/imap_tracker.t
+++ b/t/imap_tracker.t
@@ -1,4 +1,4 @@
-# Copyright (C) 2020 all contributors <meta@public-inbox.org>
+# Copyright (C) 2020-2021 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use Test::More;
 use strict;
@@ -29,7 +29,7 @@ SKIP: {
         diag "TEST_STRESS_NPROC=$nproc TEST_STRESS_NR=$nr";
         require POSIX;
         for my $n (1..$nproc) {
-                defined(my $pid = fork) or BAIL_OUT "fork: $!";
+                my $pid = fork // BAIL_OUT "fork: $!";
                 if ($pid == 0) {
                         my $url = "imap://example.com/INBOX.$$";
                         my $uidval = time;