mount-setup: don't log with LOG_ERROR if a mount that doesn't matter fails
This commit is contained in:
parent
a0a3844815
commit
71f737d2de
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue