From 5b76dc1cb6cacd5a086dc3870e39ab2d251ed5dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Fri, 30 Jan 2015 09:12:02 +0200 Subject: [PATCH 2/3] Fix lpostcmd prepare to work with recent changes --- examples/lpostcmd.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/lpostcmd.lua b/examples/lpostcmd.lua index 11f7faf..8ad339e 100644 --- a/examples/lpostcmd.lua +++ b/examples/lpostcmd.lua @@ -62,7 +62,7 @@ local rsyncpostcmd = { -- called before anything else -- builds the target from host and targetdir - prepare = function(config) + prepare = function(config, level, skipTarget) if not config.host then error("rsyncpostcmd neets 'host' configured", 4) end @@ -72,7 +72,7 @@ local rsyncpostcmd = { if not config.target then config.target = config.host .. ":" .. config.targetdir end - return default.rsync.prepare(config) + return default.rsync.prepare(config, level, skipTarget) end } -- 2.2.2