mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
switched to argv[0] from __file__ as it is what we actually wanted
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user