Skip to content

Commit

Permalink
base: Fix follow_symlinks=False in touchtree()
Browse files Browse the repository at this point in the history
  • Loading branch information
avdgrinten committed Feb 14, 2024
1 parent a55e3bd commit 11152f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbstrap/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def touchtree(root):
for name in os.listdir(root):
path = os.path.join(root, name)

os.utime(path, (0, 0))
os.utime(path, (0, 0), follow_symlinks=False)

if not os.path.islink(path) and os.path.isdir(path):
touchtree(path)
Expand Down

0 comments on commit 11152f3

Please sign in to comment.