execute: bump up log level of executed processes that failed

This commit is contained in:
Lennart Poettering
2010-07-17 04:17:30 +02:00
parent faf919f1eb
commit 92abbefbef
5 changed files with 13 additions and 5 deletions
+2 -1
View File
@@ -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