summaryrefslogtreecommitdiff
path: root/lib/PerlDaemon/PerlDaemon.pl
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2022-04-21 23:45:23 +0200
committerPaul Buetow <paul@buetow.org>2022-04-21 22:59:05 +0100
commitce255ff5a1257db57424603caac2b4bfca3c7694 (patch)
tree9f5c3a9222555270ae7d3ebccd2d4da27e3f1e87 /lib/PerlDaemon/PerlDaemon.pl
parentdb2bf4b9dbe3388e074a1144ac3f0e9b04d43b96 (diff)
release v1.3develop
Diffstat (limited to 'lib/PerlDaemon/PerlDaemon.pl')
-rw-r--r--lib/PerlDaemon/PerlDaemon.pl6
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;
-
-