diff options
author | Richard A Nelson (Rick) <cowboy@debian.org> | 2008-10-17 23:35:00 +0000 |
---|---|---|
committer | Andreas Beckmann <debian@abeckmann.de> | 2012-10-01 20:07:43 +0200 |
commit | 70fb41acbb93330c49558d37ba04ec3a25dad162 (patch) | |
tree | bf9f27c199070534dfa4531f3f9e4b94fbfeeaa3 /debian/local | |
parent | cb83348f6c0b88c1d1104d6868be756aa51cc5fa (diff) | |
download | sendmail-70fb41acbb93330c49558d37ba04ec3a25dad162.tar.gz |
Imported Debian patch 8.14.3-6debian/8.14.3-6
Diffstat (limited to 'debian/local')
-rw-r--r-- | debian/local/update_conf.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/local/update_conf.in b/debian/local/update_conf.in index c6b2ff9..efd0b1d 100644 --- a/debian/local/update_conf.in +++ b/debian/local/update_conf.in @@ -186,6 +186,7 @@ sub sm2cron_time { my ($sm) = @_; my $seconds = 0; + my $elapsed = 0; my $randstart = '00'; if ($sm eq '') { if ( $main::opt_test ) { @@ -214,6 +215,7 @@ sub sm2cron_time { + ($hour * 60 * 60) + ($minute * 60) + $second; + $elapsed = $seconds; $month = $seconds / (4 * 7 * 24 * 60 * 60); $seconds = $seconds % (4 * 7 * 24 * 60 * 60); $week = $seconds / (7 * 24 * 60 * 60); @@ -293,7 +295,7 @@ sub sm2cron_time { if ( $main::opt_test ) { print "$cron = sm2cron_time($sm);\n"; }; - return ($cron, $seconds); + return ($cron, $elapsed); }; # |