diff options
Diffstat (limited to 'src/manager.c')
-rw-r--r-- | src/manager.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/manager.c b/src/manager.c index df75eca8c4..9edb8f09bb 100644 --- a/src/manager.c +++ b/src/manager.c @@ -2070,7 +2070,9 @@ static int manager_process_signal_fd(Manager *m) { return -errno; } - get_process_name(sfsi.ssi_pid, &p); + if (sfsi.ssi_pid > 0) + get_process_name(sfsi.ssi_pid, &p); + log_debug("Received SIG%s from PID %lu (%s)", strna(signal_to_string(sfsi.ssi_signo)), (unsigned long) sfsi.ssi_pid, strna(p)); |