lib/snapsync/sync_target.rb in snapsync-0.4.1 vs lib/snapsync/sync_target.rb in snapsync-0.4.2
- old
+ new
@@ -186,15 +186,9 @@
rescue Btrfs::Error
Snapsync.warn "failed to remove snapshot at #{s.subvolume_dir}, keeping the rest of the snapshot"
return
end
- Snapsync.info "Flushing data to disk"
- begin
- btrfs.run("subvolume", "sync", self.dir.to_s)
- rescue Btrfs::Error
- end
-
s.snapshot_dir.rmtree
end
end
end