fixing another uSettings crash condition

This commit is contained in:
Axel Kittenberger 2012-11-23 11:03:22 +01:00
parent 78fa6208bf
commit 9ff62e15c6
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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 "',