]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/SearchIdx.pm
fixup Plack-related requires
[public-inbox.git] / lib / PublicInbox / SearchIdx.pm
index 1d0d926f28164a29a904643bdc0cacdc7218fc22..415decd16ee77ea97819275f24cd933fac34c823 100644 (file)
@@ -348,7 +348,6 @@ sub rlog {
                        $latest = $1;
                }
        }
-       close $log;
        $latest;
 }
 
@@ -446,7 +445,6 @@ sub _read_git_config_perm {
        my @cmd = qw(config core.sharedRepository);
        my $fh = PublicInbox::Git->new($self->{git_dir})->popen(@cmd);
        my $perm = <$fh>;
-       close $fh;
        chomp $perm if defined $perm;
        $perm;
 }