Skip to content

Commit

Permalink
Merge remote-tracking branch 'github/pull/725'
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Jan 10, 2025
2 parents 94096b3 + 46a09a8 commit 9ce65ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ end
# sync a directory to guarantee it's on disk. have to recurse to the root
# to guarantee sync for newly created directories.
def fdirsync(d)
while d != "/"
while d != "/" && d != "."
fsync(d)
d = File.dirname(d)
end
Expand Down

0 comments on commit 9ce65ff

Please sign in to comment.