output dest in error-message

pull/6202/head
muffl0n 11 years ago
parent b0f00cc097
commit 17946b23d5

@ -63,7 +63,7 @@ class ActionModule(object):
remote_md5 = self.runner._remote_md5(conn, tmp, dest) remote_md5 = self.runner._remote_md5(conn, tmp, dest)
if remote_md5 != '3': 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) return ReturnData(conn=conn, result=result)
if copy: if copy:

Loading…
Cancel
Save