Fix missing expanduser on chdir value

This commit is contained in:
James Cammarata 2015-01-14 08:02:49 -06:00 committed by Matt Clay
parent d07378ceac
commit 46b60a5b70

View file

@ -178,6 +178,7 @@ def main():
module.fail_json(rc=256, msg="no command given")
if chdir:
chdir = os.path.abspath(os.path.expanduser(chdir))
os.chdir(chdir)
if creates: