chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mount-setup: don't log with LOG_ERROR if a mount that doesn't matter fails
[elogind.git]
/
src
/
core
/
mount-setup.c
diff --git
a/src/core/mount-setup.c
b/src/core/mount-setup.c
index 961773b1e9f4d44a1460fcf186bcc93a51ead821..d902211ead787d179435f3e903e32ee427edfddd 100644
(file)
--- a/
src/core/mount-setup.c
+++ b/
src/core/mount-setup.c
@@
-131,7
+131,7
@@
static int mount_one(const MountPoint *p, bool relabel) {
p->type,
p->flags,
p->options) < 0) {
- log_
error(
"Failed to mount %s: %s", p->where, strerror(errno));
+ log_
full(p->fatal ? LOG_ERR : LOG_DEBUG,
"Failed to mount %s: %s", p->where, strerror(errno));
return p->fatal ? -errno : 0;
}