From d0ffe11bd365b68d4da252b39d06d99f75d8cacb Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Wed, 16 Nov 2022 23:14:10 +0100 Subject: minor cleanup and fixes --- lib/JWebmail/Model/ReadMails/QMailAuthuser.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/JWebmail/Model/ReadMails/QMailAuthuser.pm') diff --git a/lib/JWebmail/Model/ReadMails/QMailAuthuser.pm b/lib/JWebmail/Model/ReadMails/QMailAuthuser.pm index d0d2b3c..39d8ab6 100644 --- a/lib/JWebmail/Model/ReadMails/QMailAuthuser.pm +++ b/lib/JWebmail/Model/ReadMails/QMailAuthuser.pm @@ -190,10 +190,9 @@ sub execute { binmode $reader, ':encoding(UTF-8)'; my $input = <$reader>; - close $reader + close $reader # waits for the child to finish or die 'closing read pipe failed'; - waitpid($pid, 0); my $rc = $? >> 8; my $resp; -- cgit v1.2.3