1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-28 20:25:25 +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:
Lennart Poettering 2014-02-14 02:05:40 +01:00
parent 336c6e4690
commit 3a33e61d2d

View File

@ -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;
}