7 Sep
2019
7 Sep
'19
11:05 p.m.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> --- testbot/lib/WineTestBot/TestAgent.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testbot/lib/WineTestBot/TestAgent.pm b/testbot/lib/WineTestBot/TestAgent.pm index e6b0e0f6..ca81283d 100644 --- a/testbot/lib/WineTestBot/TestAgent.pm +++ b/testbot/lib/WineTestBot/TestAgent.pm @@ -129,7 +129,7 @@ sub Disconnect($) # This may close the SSH channel ($self->{fd}) as a side-effect, # which will avoid undue delays. $self->{ssh} = undef; - waitpid($self->{sshpid}, 0); + waitpid($self->{sshpid}, 0) if ($self->{sshpid}); $self->{sshpid} = undef; } if ($self->{fd}) -- 2.20.1