summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/basic/path-util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/basic/path-util.c b/src/basic/path-util.c
index 044a12889d..25aa355397 100644
--- a/src/basic/path-util.c
+++ b/src/basic/path-util.c
@@ -774,6 +774,9 @@ bool hidden_file_allow_backup(const char *filename) {
endswith(filename, ".dpkg-bak") ||
endswith(filename, ".dpkg-backup") ||
endswith(filename, ".dpkg-remove") ||
+ endswith(filename, ".ucf-new") ||
+ endswith(filename, ".ucf-old") ||
+ endswith(filename, ".ucf-dist") ||
endswith(filename, ".swp");
}