Skip to content

Commit

Permalink
need to flip if
Browse files Browse the repository at this point in the history
  • Loading branch information
dsschult committed Oct 25, 2024
1 parent 117b658 commit f24505c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iceprod/server/plugins/condor.py
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ async def check_submit_dir(self):
logger.debug('stat: %r', st)
if stat.S_ISDIR(st.st_mode):
empty = False
if job_active:
if not job_active:
if st.st_mtime < job_clean_logs_time:
logger.info('cleaning up submit dir %s', path)
shutil.rmtree(path)
Expand Down

0 comments on commit f24505c

Please sign in to comment.