mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 12:18:13 +02:00
settings: cleanup left over temporary files for timestamps/seen-bssids
This commit is contained in:
parent
3c0f1eb0fd
commit
34c663ca1a
1 changed files with 4 additions and 0 deletions
|
|
@ -3713,6 +3713,10 @@ _kf_db_to_file(NMSettings *self, gboolean is_timestamps, gboolean force_write)
|
|||
* add/remove of an connection will lead to a direct update. */
|
||||
*p_kf_db_pruned = TRUE;
|
||||
nm_key_file_db_prune(kf_db, _kf_db_prune_predicate, self);
|
||||
|
||||
/* once we also go over the directory, and see whether we
|
||||
* have any left over temporary files to delete. */
|
||||
nm_key_file_db_prune_tmp_files(kf_db);
|
||||
}
|
||||
|
||||
nm_key_file_db_to_file(kf_db, force_write);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue