chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
machinectl: fix handling of --verify= argument for dkr downloads
[elogind.git]
/
src
/
journal
/
coredump-vacuum.c
diff --git
a/src/journal/coredump-vacuum.c
b/src/journal/coredump-vacuum.c
index 5f2ff2a02522f0b5fe6fa61c0ffb8a23ac59412b..9b73795e5bb27843a5bbef60c4febce84a0b6920 100644
(file)
--- a/
src/journal/coredump-vacuum.c
+++ b/
src/journal/coredump-vacuum.c
@@
-139,10
+139,8
@@
int coredump_vacuum(int exclude_fd, off_t keep_free, off_t max_use) {
return 0;
if (exclude_fd >= 0) {
return 0;
if (exclude_fd >= 0) {
- if (fstat(exclude_fd, &exclude_st) < 0) {
- log_error_errno(errno, "Failed to fstat(): %m");
- return -errno;
- }
+ if (fstat(exclude_fd, &exclude_st) < 0)
+ return log_error_errno(errno, "Failed to fstat(): %m");
}
/* This algorithm will keep deleting the oldest file of the
}
/* This algorithm will keep deleting the oldest file of the