chiark / gitweb /
util: avoid considering dpkg temporary files relevant for anything
[elogind.git] / src / shared / util.c
index e2c955bc0700594620a7c517d2a368c7593f296e..586f17af835dde6b615a594ce92e30d1ea296064 100644 (file)
@@ -1422,6 +1422,7 @@ _pure_ static bool ignore_file_allow_backup(const char *filename) {
                 endswith(filename, ".rpmorig") ||
                 endswith(filename, ".dpkg-old") ||
                 endswith(filename, ".dpkg-new") ||
+                endswith(filename, ".dpkg-tmp") ||
                 endswith(filename, ".swp");
 }