Permalink
Browse files

Fix a bug in cache-rotate.py

  • Loading branch information...
1 parent 012b4fd commit bc3a1abda0fbb440735d103c2892924948f7a5ba @choller choller committed Jul 15, 2015
Showing with 1 addition and 0 deletions.
  1. +1 −0 utils/cache-rotate.py
View
1 utils/cache-rotate.py
@@ -30,6 +30,7 @@ def main():
if binPath:
if not oldestShellDirAtime or os.path.getatime(binPath) < oldestShellDirAtime:
oldestShellDir = os.path.join(path, shellDir)
+ oldestShellDirAtime = os.path.getatime(binPath)
if oldestShellDir:
shutil.rmtree(oldestShellDir)

0 comments on commit bc3a1ab

Please sign in to comment.