deploy: Also fsync parent directory of modified config files

This commit is contained in:
Colin Walters committed 2014-04-11 18:43:13 -04:00
1 parent 38feca0e4d
commit 0b8495f09a
1 file changed
+2
+2
View File
@@ -91,6 +91,8 @@ copy_modified_config_file (GFile *orig_etc,
if (!gs_file_sync_data (dest, cancellable, error))
goto out;
}
if (!ot_util_fsync_directory (dest_parent, cancellable, error))
goto out;
}
ret = TRUE;