Merge pull request #2809 from piffey/uri_fix

Fixed bug where if destination was unspecified, changed would not be set...
This commit is contained in:
Michael DeHaan 2013-04-29 17:24:05 -07:00
commit 00b3fd8b45

View file

@ -394,6 +394,8 @@ def main():
file_args['path'] = dest
changed = module.set_file_attributes_if_different(file_args, changed)
resp['path'] = dest
else:
changed = False
# Transmogrify the headers, replacing '-' with '_', since variables dont work with dashes.
uresp = {}