[pve-devel] r5663 - pve-manager/pve2/bin
svn-commits at proxmox.com
svn-commits at proxmox.com
Wed Mar 9 11:55:05 CET 2011
Author: dietmar
Date: 2011-03-09 11:55:05 +0100 (Wed, 09 Mar 2011)
New Revision: 5663
Modified:
pve-manager/pve2/bin/pvesh
Log:
call $rpcenv->init_request()
Modified: pve-manager/pve2/bin/pvesh
===================================================================
--- pve-manager/pve2/bin/pvesh 2011-03-09 10:17:07 UTC (rev 5662)
+++ pve-manager/pve2/bin/pvesh 2011-03-09 10:55:05 UTC (rev 5663)
@@ -26,7 +26,6 @@
my $rpcenv = PVE::RPCEnvironment->init('cli');
$rpcenv->set_language($ENV{LANG});
-
$rpcenv->set_user('root at pam');
my $basedir = '/api2/json';
@@ -381,6 +380,8 @@
PVE::Cluster::cfs_update();
+ $rpcenv->init_request();
+
my $args = [ shellwords($input) ];
my $cmd = shift @$args;
More information about the pve-devel
mailing list