]> git.openstreetmap.org Git - chef.git/commitdiff
Merge remote-tracking branch 'github/pull/725'
authorTom Hughes <tom@compton.nu>
Fri, 10 Jan 2025 17:24:39 +0000 (17:24 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 10 Jan 2025 17:24:39 +0000 (17:24 +0000)
cookbooks/planet/files/default/replication-bin/replicate-changesets

index a57ca7659e42beacae9e884fb61a9cf758b56ae4..0a6b4242d72e733bf464ec4b67e8a6e2aa69963a 100755 (executable)
@@ -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