[pve-devel] r5142 - pve-storage/pve2

svn-commits at proxmox.com svn-commits at proxmox.com
Tue Sep 14 11:19:49 CEST 2010


Author: dietmar
Date: 2010-09-14 09:19:49 +0000 (Tue, 14 Sep 2010)
New Revision: 5142

Modified:
   pve-storage/pve2/pvesm
Log:


Modified: pve-storage/pve2/pvesm
===================================================================
--- pve-storage/pve2/pvesm	2010-09-14 09:19:17 UTC (rev 5141)
+++ pve-storage/pve2/pvesm	2010-09-14 09:19:49 UTC (rev 5142)
@@ -226,7 +226,7 @@
 
 my $cmd = shift;
 
-if ($cmd eq 'verifyapi') {
+if ($cmd && $cmd eq 'verifyapi') {
     PVE::RESTHandler::validate_method_schemas();
     exit 0;
 }




More information about the pve-devel mailing list