main/lsyncd: fix lpostcmd

(cherry picked from commit a5b8e233b6a0c7de7ab544e741192422b46816bb)