pf-tools commit: r864 [ccaillet-guest] - /branches/next-gen/lib/PFTools/Utils.pm
parmelan-guest at users.alioth.debian.org
parmelan-guest at users.alioth.debian.org
Mon Aug 30 11:40:46 UTC 2010
Author: ccaillet-guest
Date: Mon Aug 30 11:40:44 2010
New Revision: 864
URL: http://svn.debian.org/wsvn/pf-tools/?sc=1&rev=864
Log:
Preparing to release RC2
Modified:
branches/next-gen/lib/PFTools/Utils.pm
Modified: branches/next-gen/lib/PFTools/Utils.pm
URL: http://svn.debian.org/wsvn/pf-tools/branches/next-gen/lib/PFTools/Utils.pm?rev=864&op=diff
==============================================================================
--- branches/next-gen/lib/PFTools/Utils.pm (original)
+++ branches/next-gen/lib/PFTools/Utils.pm Mon Aug 30 11:40:44 2010
@@ -811,7 +811,7 @@
&& ! defined( $host_config->{$section}->{'done'} )
) {
$host_config->{$section}->{'doing'} = 1;
-# Get_depends_for_action ( $host_config->{$section}->{'action'}, $host_config->{$section}, $section, $options );
+ Get_depends_for_action ( $host_config->{$section}->{'action'}, $host_config->{$section}, $section, $options );
if ( defined( $host_config->{$section}->{'depends'} ) ) {
my $depends;
my @dependsraw = split( /\s+/, $host_config->{$section}->{'depends'} );
@@ -841,13 +841,13 @@
}
}
Log( "[".$section."]" );
-# if ( Exec_action ( $host_config->{$section}->{'action'}, $host_config->{$section}, $section, $options, $hash_subst, $global_config ) ) {
-# FlushLog();
-# $errorcount++;
-# }
-# else {
-# DelLog();
-# }
+ if ( Exec_action ( $host_config->{$section}->{'action'}, $host_config->{$section}, $section, $options, $hash_subst, $global_config ) ) {
+ FlushLog();
+ $errorcount++;
+ }
+ else {
+ DelLog();
+ }
$host_config->{$section}->{'done'} = 1;
}
}
More information about the pf-tools-commits
mailing list