chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: avoid considering dpkg temporary files relevant for anything
[elogind.git]
/
src
/
shared
/
util.c
diff --git
a/src/shared/util.c
b/src/shared/util.c
index e2c955bc0700594620a7c517d2a368c7593f296e..586f17af835dde6b615a594ce92e30d1ea296064 100644
(file)
--- a/
src/shared/util.c
+++ b/
src/shared/util.c
@@
-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");
}