3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-20 02:49:49 +01:00

ProcessManager: unmark $stuff as being forked once child dies

This commit is contained in:
Pragmatic Software 2020-02-18 20:11:39 -08:00
parent f13df2245a
commit 2fd0ed93ba

View File

@ -228,6 +228,8 @@ sub process_pipe_reader {
return; return;
}; };
delete $stuff->{pid};
if (not defined $stuff->{result} or not length $stuff->{result}) { if (not defined $stuff->{result} or not length $stuff->{result}) {
$self->{pbot}->{logger}->log("No result from process.\n"); $self->{pbot}->{logger}->log("No result from process.\n");
return; return;