summaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/command2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/command b/commands/command
index e996c0c4..ad6ed6c1 100644
--- a/commands/command
+++ b/commands/command
@@ -95,7 +95,7 @@ def main():
module.fail_json(rc=256, msg="no command given")
if chdir:
- os.chdir(os.path.expanduser(chdir))
+ os.chdir(chdir)
if creates:
# do not run the command if the line contains creates=filename