[pve-devel] r6422 - pve-manager/pve2/bin

svn-commits at proxmox.com svn-commits at proxmox.com
Fri Aug 5 08:24:06 CEST 2011


Author: dietmar
Date: 2011-08-05 08:24:06 +0200 (Fri, 05 Aug 2011)
New Revision: 6422

Modified:
   pve-manager/pve2/bin/pvestatd
Log:
	* bin/pvestatd: always call init_request() to update versions



Modified: pve-manager/pve2/bin/pvestatd
===================================================================
--- pve-manager/pve2/bin/pvestatd	2011-08-05 05:49:44 UTC (rev 6421)
+++ pve-manager/pve2/bin/pvestatd	2011-08-05 06:24:06 UTC (rev 6422)
@@ -116,6 +116,7 @@
 };
 
 PVE::INotify::inotify_init();
+my $rpcenv = PVE::RPCEnvironment->init('cli');
 
 my $reload_config;
 
@@ -281,6 +282,7 @@
 	    eval {
 		$reload_config = 0;
 		syslog('info', "start status update");
+		$rpcenv->init_request();
 		update_status();
 	    };
 	    my $err = $@;




More information about the pve-devel mailing list