pvestatd: use 'priv' environment for service
This commit is contained in:
parent
8abeb80352
commit
8bc011d4f1
@ -8,7 +8,7 @@ use PVE::RPCEnvironment;
|
||||
use PVE::Service::pvestatd;
|
||||
|
||||
my $prepare = sub {
|
||||
my $rpcenv = PVE::RPCEnvironment->init('cli');
|
||||
my $rpcenv = PVE::RPCEnvironment->init('priv');
|
||||
|
||||
$rpcenv->init_request();
|
||||
$rpcenv->set_language($ENV{LANG});
|
||||
|
Loading…
x
Reference in New Issue
Block a user