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:
parent
f13df2245a
commit
2fd0ed93ba
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user