Record the sending PID before setting the flag saying we received a signal.

This commit is contained in:
Andrew Wood
2024-12-01 01:27:48 +00:00
parent c3fae61dda
commit 68c8046a55
+1 -1
View File
@@ -239,8 +239,8 @@ static void pv_sig_usr2( /*@unused@ */ __attribute__((unused))
return;
if (NULL == info)
return;
pv_sig_state->signal.rxusr2 = 1;
pv_sig_state->signal.sender = info->si_pid;
pv_sig_state->signal.rxusr2 = 1;
}