diff --git a/PVE/RPCEnvironment.pm b/PVE/RPCEnvironment.pm index 5806107..4cacd52 100644 --- a/PVE/RPCEnvironment.pm +++ b/PVE/RPCEnvironment.pm @@ -531,13 +531,17 @@ sub fork_worker { # same algorythm as used inside SA # STDIN = /dev/null my $fd = fileno (STDIN); - close STDIN; - POSIX::close(0) if $fd != 0; - die "unable to redirect STDIN - $!" - if !open(STDIN, "