[pve-devel] r5542 - pve-access-control/trunk

svn-commits at proxmox.com svn-commits at proxmox.com
Wed Feb 16 07:51:55 CET 2011


Author: dietmar
Date: 2011-02-16 07:51:55 +0100 (Wed, 16 Feb 2011)
New Revision: 5542

Modified:
   pve-access-control/trunk/pveum
Log:
call init_request instead of cfs_update


Modified: pve-access-control/trunk/pveum
===================================================================
--- pve-access-control/trunk/pveum	2011-02-16 06:46:08 UTC (rev 5541)
+++ pve-access-control/trunk/pveum	2011-02-16 06:51:55 UTC (rev 5542)
@@ -30,12 +30,11 @@
 die "please run as root\n" if $> != 0;
 
 PVE::INotify::inotify_init();
-PVE::Cluster::cfs_update();
 
 my $rpcenv = PVE::RPCEnvironment->init('cli');
 
+$rpcenv->init_request();
 $rpcenv->set_language($ENV{LANG});
-
 $rpcenv->set_user('root'); 
 
 # autmatically generate the private key if it does not already exists




More information about the pve-devel mailing list