[Fai-commit] r5737 - people/michael/experimental/patches
Michael Tautschnig
mt at alioth.debian.org
Wed Mar 17 09:17:57 UTC 2010
Author: mt
Date: 2010-03-17 09:17:55 +0000 (Wed, 17 Mar 2010)
New Revision: 5737
Modified:
people/michael/experimental/patches/setup-storage_used-devs-only
Log:
one should really test the code before releasing it to the public ...
Modified: people/michael/experimental/patches/setup-storage_used-devs-only
===================================================================
--- people/michael/experimental/patches/setup-storage_used-devs-only 2010-03-16 21:07:47 UTC (rev 5736)
+++ people/michael/experimental/patches/setup-storage_used-devs-only 2010-03-17 09:17:55 UTC (rev 5737)
@@ -43,7 +43,7 @@
+ }
+ }
+
-+ return @phys_devs;
++ return \@phys_devs;
+}
+
+################################################################################
@@ -63,7 +63,7 @@
# create full paths
($disk =~ m{^/}) or $disk = "/dev/$disk";
-+ defined ($referenced_devs{$disk}) or next;
++ exists ($referenced_devs{$disk}) or next;
+
# make sure, $disk is a proper block device
(-b $disk) or die "$disk is not a block special device!\n";
More information about the Fai-commit
mailing list