main/lsyncd: fix init

(cherry picked from commit 1c9d527bbc4282d3884dcaae80942de7d1c47d69)