diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-04-20 12:39:09 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-04-20 12:40:02 +0200 |
commit | 71f737d2de635d4ac6183face7e9c8b7981631ab (patch) | |
tree | 3fce54a9b355ac01b535d20991768dc694a6cfe8 /src/core | |
parent | a0a3844815b0f346dba03f41245c620f432e462f (diff) |
mount-setup: don't log with LOG_ERROR if a mount that doesn't matter fails
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/mount-setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c index 961773b1e9..d902211ead 100644 --- 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; } |