output dest in error-message

This commit is contained in:
muffl0n 2014-02-27 13:29:26 +01:00
parent b0f00cc097
commit 17946b23d5

View file

@ -63,7 +63,7 @@ class ActionModule(object):
remote_md5 = self.runner._remote_md5(conn, tmp, dest)
if remote_md5 != '3':
result = dict(failed=True, msg="dest must be an existing dir")
result = dict(failed=True, msg="dest '%s' must be an existing dir" % dest)
return ReturnData(conn=conn, result=result)
if copy: