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

svn-commits at proxmox.com svn-commits at proxmox.com
Tue Aug 24 13:41:01 CEST 2010


Author: dietmar
Date: 2010-08-24 11:41:01 +0000 (Tue, 24 Aug 2010)
New Revision: 5047

Modified:
   pve-access-control/trunk/pveum
Log:
initialize INotify first


Modified: pve-access-control/trunk/pveum
===================================================================
--- pve-access-control/trunk/pveum	2010-08-24 11:13:47 UTC (rev 5046)
+++ pve-access-control/trunk/pveum	2010-08-24 11:41:01 UTC (rev 5047)
@@ -23,6 +23,8 @@
 
 die "please run as root\n" if $> != 0;
 
+PVE::INotify::inotify_init();
+
 my $rpcenv = PVE::RPCEnvironment->init('cli');
 
 $rpcenv->set_language($ENV{LANG});
@@ -40,8 +42,6 @@
     run_command($cmd, umask => 0133)
 }
 
-PVE::INotify::inotify_init();
-
 sub print_usage {
     my $msg = shift;
 



More information about the pve-devel mailing list