Fix missing expanduser on chdir value

pull/18777/head
James Cammarata 10 years ago committed by Matt Clay
parent d07378ceac
commit 46b60a5b70

@ -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:

Loading…
Cancel
Save