[Fai-commit] r5423 - people/michael/experimental/patches

Michael Tautschnig mt at alioth.debian.org
Thu Jun 25 20:44:15 UTC 2009


Author: mt
Date: 2009-06-25 20:44:14 +0000 (Thu, 25 Jun 2009)
New Revision: 5423

Modified:
   people/michael/experimental/patches/bugfix-532321
Log:
Replaced defined %vg_info by simple %vg_info as suggested by perl compiler


Modified: people/michael/experimental/patches/bugfix-532321
===================================================================
--- people/michael/experimental/patches/bugfix-532321	2009-06-25 20:39:00 UTC (rev 5422)
+++ people/michael/experimental/patches/bugfix-532321	2009-06-25 20:44:14 UTC (rev 5423)
@@ -19,7 +19,7 @@
 -    $FAI::current_lvm_config{$vg}{size} =
 -      &FAI::convert_unit( $vg_info{alloc_pe_size} .
 -        $vg_info{alloc_pe_size_unit} );
-+    if (defined %vg_info) {
++    if (%vg_info) {
 +      $FAI::current_lvm_config{$vg}{size} = $vg_info{alloc_pe_size} .
 +        $vg_info{alloc_pe_size_unit};
 +    } else {




More information about the Fai-commit mailing list