mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
git: remove duplicate ssh_wrapper cleanup (#31827)
This commit is contained in:
parent
d2e01477eb
commit
c02173880a
1 changed files with 0 additions and 8 deletions
|
@ -1161,14 +1161,6 @@ def main():
|
|||
|
||||
create_archive(git_path, module, dest, archive, version, repo, result)
|
||||
|
||||
# cleanup the wrapper script
|
||||
if ssh_wrapper:
|
||||
try:
|
||||
os.remove(ssh_wrapper)
|
||||
except OSError:
|
||||
# No need to fail if the file already doesn't exist
|
||||
pass
|
||||
|
||||
module.exit_json(**result)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue