From 51da67505600f97a88f4272a492b97d6f9da8dff Mon Sep 17 00:00:00 2001 From: Lefteris Chatzimparmpas Date: Tue, 21 Feb 2012 17:49:38 +0100 Subject: [PATCH] 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. --- src/auxiliary.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auxiliary.lua b/src/auxiliary.lua index 849116a..8bdb888 100644 --- a/src/auxiliary.lua +++ b/src/auxiliary.lua @@ -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