mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
service: when we complain about a notify message we cannot map to main pid because we don't know anything about the main pid, do so at debug level
This commit is contained in:
parent
336c6e4690
commit
3a33e61d2d
@ -3354,7 +3354,7 @@ static void service_notify_message(Unit *u, pid_t pid, char **tags) {
|
||||
if (s->main_pid != 0)
|
||||
log_warning_unit(u->id, "%s: Got notification message from PID "PID_FMT", but reception only permitted for main PID "PID_FMT, u->id, pid, s->main_pid);
|
||||
else
|
||||
log_warning_unit(u->id, "%s: Got notification message from PID "PID_FMT", but reception only permitted for main PID which is currently not known", u->id, pid);
|
||||
log_debug_unit(u->id, "%s: Got notification message from PID "PID_FMT", but reception only permitted for main PID which is currently not known", u->id, pid);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user