deploy: Also fsync parent directory of modified config files
This commit is contained in:
1 parent
38feca0e4d
commit
0b8495f09a
1 file changed
+2
@@ -91,6 +91,8 @@ copy_modified_config_file (GFile *orig_etc,
|
|||||||
if (!gs_file_sync_data (dest, cancellable, error))
|
if (!gs_file_sync_data (dest, cancellable, error))
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
if (!ot_util_fsync_directory (dest_parent, cancellable, error))
|
||||||
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
|
|||||||
Reference in new issue
Block a user