3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-03 01:48:38 +02: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;
};
delete $stuff->{pid};
if (not defined $stuff->{result} or not length $stuff->{result}) {
$self->{pbot}->{logger}->log("No result from process.\n");
return;