diff options
Diffstat (limited to 'storage_xml.c')
-rw-r--r-- | storage_xml.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage_xml.c b/storage_xml.c index b81e1d0c..a0e2fd25 100644 --- a/storage_xml.c +++ b/storage_xml.c @@ -497,6 +497,7 @@ static storage_status_t xml_save( irc_t *irc, int overwrite ) if( !xml_printf( fd, 0, "</user>\n" ) ) goto write_error; + fsync( fd ); close( fd ); path2 = g_strndup( path, strlen( path ) - 1 ); |