mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-04 19:03:17 +00:00
Fix wrong alarm selection
This commit is contained in:
parent
ff84a35d4d
commit
6d9164a29a
@ -2880,7 +2880,7 @@ local Sync = ( function
|
||||
end
|
||||
|
||||
print(type(now()))
|
||||
local nalarm = type(self.nextCronAlarm) == "userdata" and self.nextCronAlarm.seconds or nil
|
||||
local nalarm = nil
|
||||
for i, c in ipairs(self.cron) do
|
||||
local na = c:get_next_occurrence(timestamp.seconds)
|
||||
print("na", timestamp.seconds, na)
|
||||
|
Loading…
Reference in New Issue
Block a user