mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-11-17 02:25:14 +00:00
fix logic error in alarm compare
This commit is contained in:
parent
883143f204
commit
81325b0de5
@ -3934,8 +3934,8 @@ local Tunnels = ( function
|
||||
local rv = nextCycle
|
||||
for _, tunnel in ipairs( tunnelList ) do
|
||||
local ta = tunnel:getAlarm()
|
||||
if ta ~= false
|
||||
and ta < rv then
|
||||
if ta == true or (type(ta) == "userdata"
|
||||
and ta < rv) then
|
||||
rv = ta
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user