summaryrefslogtreecommitdiff
path: root/src/mount.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-17 04:17:30 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-17 04:17:30 +0200
commit92abbefbefb0adafb6714c8d8f9d25bc8280a2f7 (patch)
treebd670afaa3414511c1b71bf021e86d391cdcddd3 /src/mount.c
parentfaf919f1ebebdfc13f769bb6585e64e7ad4b301b (diff)
execute: bump up log level of executed processes that failed
Diffstat (limited to 'src/mount.c')
-rw-r--r--src/mount.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mount.c b/src/mount.c
index 5b0bc6bdf0..bee3c9a60e 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -962,7 +962,8 @@ static void mount_sigchld_event(Unit *u, pid_t pid, int code, int status) {
m->control_command_id = _MOUNT_EXEC_COMMAND_INVALID;
}
- log_debug("%s control process exited, code=%s status=%i", u->meta.id, sigchld_code_to_string(code), status);
+ log_full(success ? LOG_DEBUG : LOG_NOTICE,
+ "%s mount process exited, code=%s status=%i", u->meta.id, sigchld_code_to_string(code), status);
/* Note that mount(8) returning and the kernel sending us a
* mount table change event might happen out-of-order. If an