Skip to content

Commit f53fee5

Browse files
authored
Merge pull request #92 from Koan-Bot/koan.atoomic/fix-grep-pm-cleanup
2 parents f2f6f89 + 3574c04 commit f53fee5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib/GrepCpan/Grep.pm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ use Simple::Accessor qw{
2323
};
2424

2525
use POSIX qw{:sys_wait_h setsid};
26-
use Proc::ProcessTable ();
2726
use Time::HiRes ();
2827
use File::Path ();
2928
use File::Slurp ();
@@ -897,7 +896,7 @@ sub run_git_cmd_limit ( $self, %opts ) {
897896
local $SIG{'USR1'} = sub {
898897
$can_write_to_pipe = 0;
899898
close($CW);
900-
open STDIN, '>', '/dev/null';
899+
open STDIN, '<', '/dev/null';
901900
open STDOUT, '>', '/dev/null';
902901
open STDERR, '>', '/dev/null';
903902
setsid();

0 commit comments

Comments
 (0)