mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-05-29 21:36:01 +00:00
pvestatd: use 'priv' environment for service
This commit is contained in:
parent
4db8790e2a
commit
ae8b09bdf6
@ -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…
Reference in New Issue
Block a user