no events if shutting down

This commit is contained in:
Axel Kittenberger 2011-08-26 20:42:36 +00:00
parent ce35d4ac77
commit 1ebbc229f3
1 changed files with 3 additions and 0 deletions

View File

@ -2920,6 +2920,9 @@ end
-- times ... the alarm time (only read if number is 1)
--
function runner.getAlarm()
if lsyncdStatus ~= "run" then
return false
end
local alarm = false
----
-- checks if current nearest alarm or a is earlier