deploy: Also fsync parent directory of modified config files

This commit is contained in:
Colin Walters 2014-04-08 17:41:28 -04:00
parent 38feca0e4d
commit 0b8495f09a
1 changed files with 2 additions and 0 deletions

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;