From 42d40153ffe6c9abad7138659e0871b02840737e Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sat, 28 Dec 2024 21:18:49 +0300 Subject: [PATCH] Do not intercept STDERR in Proxmox plugin (finally fixes "unexpected status"!) --- patches/VitastorPlugin.pm | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/patches/VitastorPlugin.pm b/patches/VitastorPlugin.pm index 0bb26e5e..3aeed4c2 100644 --- a/patches/VitastorPlugin.pm +++ b/patches/VitastorPlugin.pm @@ -37,16 +37,6 @@ sub run_cli $json = 1 if !defined $json; my $binary = delete $args{binary}; $binary = '/usr/bin/vitastor-cli' if !defined $binary; - if (!exists($args{errfunc})) - { - $args{errfunc} = sub - { - my $line = shift; - print STDERR $line; - *STDERR->flush(); - $stderr .= $line; - }; - } if (!exists($args{outfunc})) { $retval = '';