lib/gitolite/ssh_key.rb in jbox-gitolite-1.1.2 vs lib/gitolite/ssh_key.rb in jbox-gitolite-1.1.3
- old
+ new
@@ -59,9 +59,10 @@
end
def to_file(path)
key_file = File.join(path, self.filename)
File.open(key_file, "w") do |f|
+ f.sync = true
f.write(self.to_s)
end
key_file
end