From 9ff62e15c66d37deaef48f282a6c5491612c29a6 Mon Sep 17 00:00:00 2001 From: Axel Kittenberger Date: Fri, 23 Nov 2012 11:03:22 +0100 Subject: [PATCH] fixing another uSettings crash condition --- ChangeLog | 3 +++ default-rsyncssh.lua | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5b0852e..d379598 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +??-??-2ß12: 2.1.3 + fix: fixed 2 crash conditions due to failure to read 'uSettings' + 03-11-2012: 2.1.2 fix: added excludeFrom to checkgauge (thx to DavidWittman) fix: fixed rsync option computation diff --git a/default-rsyncssh.lua b/default-rsyncssh.lua index 94b7eea..201b28d 100644 --- a/default-rsyncssh.lua +++ b/default-rsyncssh.lua @@ -206,7 +206,7 @@ rsyncssh.collect = function( agent, exitcode ) if rc == 'ok' then log('Normal', 'Startup of "',agent.source,'" finished: ', exitcode) elseif rc == 'again' then - if uSettings.insist then + if settings('insist') then log('Normal', 'Retrying startup of "',agent.source,'": ', exitcode) else log('Error', 'Temporary or permanent failure on startup of "',