From 92abbefbefb0adafb6714c8d8f9d25bc8280a2f7 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 17 Jul 2010 04:17:30 +0200 Subject: execute: bump up log level of executed processes that failed --- src/mount.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mount.c') 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 -- cgit v1.2.3-54-g00ecf