From 1bfd98d64ddab1f698772b246fa6909b83711844 Mon Sep 17 00:00:00 2001 From: Jun SAITO Date: Mon, 30 Sep 2013 23:05:59 +0900 Subject: [PATCH] Fix logging message --- default.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default.lua b/default.lua index b20ebab..b64b629 100644 --- a/default.lua +++ b/default.lua @@ -172,9 +172,9 @@ default.collect = function( agent, exitcode ) end else if rc == 'ok' then - log('Normal', 'Retrying ',agent.etype,' on ',agent.sourcePath,' = ',exitcode) - elseif rc == 'again' then log('Normal', 'Finished ',agent.etype,' on ',agent.sourcePath,' = ',exitcode) + elseif rc == 'again' then + log('Normal', 'Retrying ',agent.etype,' on ',agent.sourcePath,' = ',exitcode) elseif rc == 'die' then log('Error', 'Failure with ',agent.etype,' on ',agent.sourcePath,' = ',exitcode) else