[Fai-commit] r4889 - people/michael/features/setup_harddisks_2/implementation/lib

mt at alioth.debian.org mt at alioth.debian.org
Fri May 9 13:06:10 UTC 2008


Author: mt
Date: 2008-05-09 13:06:10 +0000 (Fri, 09 May 2008)
New Revision: 4889

Modified:
   people/michael/features/setup_harddisks_2/implementation/lib/commands.pm
Log:
added debugging output


Modified: people/michael/features/setup_harddisks_2/implementation/lib/commands.pm
===================================================================
--- people/michael/features/setup_harddisks_2/implementation/lib/commands.pm	2008-05-09 12:56:30 UTC (rev 4888)
+++ people/michael/features/setup_harddisks_2/implementation/lib/commands.pm	2008-05-09 13:06:10 UTC (rev 4889)
@@ -1010,7 +1010,8 @@
     if ($all_matched) {
       $pushed = -1;
       $i++;
-      push @pre_deps, split(/,/, $FAI::commands{$i}{post}) if ($FAI::commands{$i}{post} ne "");
+      defined($FAI::commands{$i}{post}) or print "No post for $i, " .  $FAI::commands{$i}{cmd} . "\n";
+      defined($FAI::commands{$i}{post}) and push @pre_deps, split(/,/, $FAI::commands{$i}{post});
       next;
     }
     if (-1 == $pushed) {




More information about the Fai-commit mailing list