mirror of
https://github.com/octoleo/lsyncd.git
synced 2025-02-02 03:48:24 +00:00
no events if shutting down
This commit is contained in:
parent
ce35d4ac77
commit
1ebbc229f3
@ -2920,6 +2920,9 @@ end
|
|||||||
-- times ... the alarm time (only read if number is 1)
|
-- times ... the alarm time (only read if number is 1)
|
||||||
--
|
--
|
||||||
function runner.getAlarm()
|
function runner.getAlarm()
|
||||||
|
if lsyncdStatus ~= "run" then
|
||||||
|
return false
|
||||||
|
end
|
||||||
local alarm = false
|
local alarm = false
|
||||||
----
|
----
|
||||||
-- checks if current nearest alarm or a is earlier
|
-- checks if current nearest alarm or a is earlier
|
||||||
|
Loading…
x
Reference in New Issue
Block a user