From ce255ff5a1257db57424603caac2b4bfca3c7694 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 21 Apr 2022 23:45:23 +0200 Subject: release v1.3 --- lib/PerlDaemon/PerlDaemon.pl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lib/PerlDaemon/PerlDaemon.pl') diff --git a/lib/PerlDaemon/PerlDaemon.pl b/lib/PerlDaemon/PerlDaemon.pl index af848dc..3f5765a 100644 --- a/lib/PerlDaemon/PerlDaemon.pl +++ b/lib/PerlDaemon/PerlDaemon.pl @@ -1,7 +1,5 @@ #!/usr/bin/perl -# PerlDaemon (c) 2010, 2011, Dipl.-Inform. (FH) Paul Buetow (http://perldaemon.buetow.org) - use strict; use warnings; @@ -166,7 +164,7 @@ sub daemonloop ($) { my $timediff = tv_interval($lastrun, $now); if ($timediff >= $loopinterval) { - $lastrun = $now; + $lastrun = $now; $rmodule->do(); alive $conf; } @@ -218,5 +216,3 @@ if ($conf->{'daemon.daemonize'} ne 'yes') { sighandlers $conf; daemonloop $conf; - - -- cgit v1.2.3