Skip to content

Commit

Permalink
log: fix wrong comparison when checking symlink ctime resulting in a …
Browse files Browse the repository at this point in the history
…bunch of warnings
  • Loading branch information
alexAubin committed Feb 24, 2025
1 parent ca12075 commit 3117810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def _update_log_cache_symlinks():

if not os.path.islink(success_symlink) or os.path.getctime(
success_symlink
) > os.path.getctime(log_md):
) < os.path.getctime(log_md):
success = metadata.get("success", "?")
if success is True:
success_target = "/usr/bin/true"
Expand Down

0 comments on commit 3117810

Please sign in to comment.