Skip to content

Commit

Permalink
Support Podman version 5.x which autodeletes the cidfiles. Fixes: #2001
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Jul 8, 2024
1 parent ba051d3 commit 46e0405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cwltool/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ def docker_monitor(
self.name,
int((max_mem_percent / 100 * max_mem) / (2**20)),
)
if cleanup_cidfile:
if cleanup_cidfile and os.path.exists(cidfile):
os.remove(cidfile)


Expand Down

0 comments on commit 46e0405

Please sign in to comment.