summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/rpath.py
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-04-04 00:52:34 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-04-04 00:52:34 +0000
commitc7d46be1a1a152baff70500448c6263dd2246a59 (patch)
tree0f4f8474f8382c8ac72884484bdcd2c85ad01a18 /rdiff-backup/rdiff_backup/rpath.py
parentb00f3df41785465e0cd57241416028d32e1868d2 (diff)
downloadrdiff-backup-c7d46be1a1a152baff70500448c6263dd2246a59.tar.gz
--windows-mode no longer fsync's directories
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@312 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/rpath.py')
-rw-r--r--rdiff-backup/rdiff_backup/rpath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rdiff-backup/rdiff_backup/rpath.py b/rdiff-backup/rdiff_backup/rpath.py
index f133eb6..8c9aa10 100644
--- a/rdiff-backup/rdiff_backup/rpath.py
+++ b/rdiff-backup/rdiff_backup/rpath.py
@@ -908,7 +908,7 @@ class RPath(RORPath):
def fsync_with_dir(self, fp = None):
"""fsync self and directory self is under"""
self.fsync(fp)
- self.get_parent_rp().fsync()
+ if Globals.fsync_directories: self.get_parent_rp().fsync()
def sync_delete(self):
"""Delete self with sync to guarantee completion