mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Fix missing expanduser on chdir value
This commit is contained in:
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:
|
||||
|
||||
Reference in New Issue
Block a user