diff --git a/default.lua b/default.lua index 8a43598..6a25474 100644 --- a/default.lua +++ b/default.lua @@ -120,14 +120,14 @@ default.collect = function agent.target, ' finished.' ) - if settings('onepass') - then - log( - 'Normal', - 'onepass config set, exiting' - ) - terminate( 0 ) - end + if settings('onepass') + then + log( + 'Normal', + 'onepass config set, exiting' + ) + terminate( 0 ) + end return 'ok' elseif rc == 'again' then diff --git a/lsyncd.lua b/lsyncd.lua index 7622808..36ef4ce 100644 --- a/lsyncd.lua +++ b/lsyncd.lua @@ -4735,7 +4735,7 @@ function runner.configure( args, monitors ) { 0, function - ( ) + ( ) clSettings.onepass = true end },