Index: trunk/Nebulous-Server/lib/Nebulous/Server.pm
===================================================================
--- trunk/Nebulous-Server/lib/Nebulous/Server.pm	(revision 24326)
+++ trunk/Nebulous-Server/lib/Nebulous/Server.pm	(revision 24327)
@@ -2034,9 +2034,6 @@
         unless (_retry(sub { chmod(0664, $path) }));
 
-#    die "can not flush $path: $!"
-#        unless ($fh->flush);
-
     die "can not sync $path: $!"
-        unless ($fh->sync);
+        unless (_retry(sub { $fh->sync() }));
 
     die "can not close $path: $!"
