chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0a3844
)
mount-setup: don't log with LOG_ERROR if a mount that doesn't matter fails
author
Lennart Poettering
<lennart@poettering.net>
Fri, 20 Apr 2012 10:39:09 +0000
(12:39 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 20 Apr 2012 10:40:02 +0000
(12:40 +0200)
src/core/mount-setup.c
patch
|
blob
|
history
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;
}