mirror of
https://github.com/moparisthebest/imapfilter
synced 2024-12-21 23:28:49 -05:00
Don't do a protected call for the daemon commands
The errors produced by the ifcore module methods are important and thus should not be ignored.
This commit is contained in:
parent
8b0e8943e3
commit
51da675056
@ -60,6 +60,6 @@ function become_daemon(interval, commands, nochdir, noclose)
|
||||
if noclose == nil then noclose = false end
|
||||
ifsys.daemon(nochdir, noclose)
|
||||
repeat
|
||||
pcall(commands)
|
||||
commands()
|
||||
until ifsys.sleep(interval) ~= 0
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user