mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
This commit is contained in:
@@ -118,7 +118,7 @@ def which_cmdfile():
|
||||
if os.path.exists(path):
|
||||
for line in open(path):
|
||||
if line.startswith('command_file'):
|
||||
return line.partition('=')[2].strip()
|
||||
return line.split('=')[1].strip()
|
||||
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user