summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBrian Coca <brian.coca+git@gmail.com>2015-06-09 17:29:46 -0400
committerBrian Coca <brian.coca+git@gmail.com>2015-06-09 17:29:46 -0400
commitfdeca3725785f9e5ee6554b05852f927f1cc8e82 (patch)
treead6d3533de25ad4cbb1304edafada484fbdb8c5e /bin
parent5aec5e5eb0bd5fce426df580c76dbff7c741c933 (diff)
downloadansible-fdeca3725785f9e5ee6554b05852f927f1cc8e82.tar.gz
switched to argv[0] from __file__ as it is what we actually wanted
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ansible2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ansible b/bin/ansible
index 12ad89fcff..8fbc509047 100755
--- a/bin/ansible
+++ b/bin/ansible
@@ -44,7 +44,7 @@ if __name__ == '__main__':
cli = None
display = Display()
- me = os.path.basename(__file__)
+ me = os.path.basename(sys.argv[0])
try:
if me == 'ansible-playbook':