about summary refs log tree commit homepage
path: root/t/v2reindex.t
diff options
context:
space:
mode:
Diffstat (limited to 't/v2reindex.t')
-rw-r--r--t/v2reindex.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/v2reindex.t b/t/v2reindex.t
index 7c14117a..b6164ff8 100644
--- a/t/v2reindex.t
+++ b/t/v2reindex.t
@@ -18,12 +18,11 @@ my $ibx_config = {
         -primary_address => 'test@example.com',
         indexlevel => 'full',
 };
-my $agpl = eval {
+my $agpl = do {
         open my $fh, '<', 'COPYING' or die "can't open COPYING: $!";
         local $/;
         <$fh>;
 };
-$agpl or die "AGPL or die :P\n";
 my $phrase = q("defending all users' freedom");
 my $mime = PublicInbox::MIME->create(
         header => [