summaryrefslogtreecommitdiff
path: root/lib/JWebmail/Model/ReadMails/QMailAuthuser.pm
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2022-11-16 23:14:10 +0100
committerJannis M. Hoffmann <jannis@fehcom.de>2022-11-16 23:14:10 +0100
commitd0ffe11bd365b68d4da252b39d06d99f75d8cacb (patch)
tree17b852052b6515864d7963b49b2ac3ee2c3df134 /lib/JWebmail/Model/ReadMails/QMailAuthuser.pm
parenta52a7d7c27440a7c2716af033a6113abcaa2bd46 (diff)
minor cleanup and fixes
Diffstat (limited to 'lib/JWebmail/Model/ReadMails/QMailAuthuser.pm')
-rw-r--r--lib/JWebmail/Model/ReadMails/QMailAuthuser.pm3
1 files changed, 1 insertions, 2 deletions
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;