diff options
Diffstat (limited to 'lib/PerlDaemon/PerlDaemon.pl')
| -rw-r--r-- | lib/PerlDaemon/PerlDaemon.pl | 6 |
1 files changed, 1 insertions, 5 deletions
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; - - |
