mount-setup: don't log with LOG_ERROR if a mount that doesn't matter fails

This commit is contained in:
Lennart Poettering
2012-04-20 12:40:02 +02:00
parent a0a3844815
commit 71f737d2de
+1 -1
View File
@@ -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;
}