2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-05 18:16:44 +00:00

Blocking.pm: avoid warning (Forum #59030)

git-svn-id: https://svn.fhem.de/fhem/trunk@12343 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-10-15 17:03:29 +00:00
parent b702365649
commit 886eebf38f

View File

@ -98,7 +98,7 @@ BlockingStart(;$)
for my $bpid (sort { $a <=> $b} keys %BC_hash) {
my $h = $BC_hash{$bpid};
if($h->{pid} =~ m/^\d+$/) {
if($h->{pid} && $h->{pid} =~ m/^\d+$/) {
if($^O =~ m/Win/) {
# MaxNr of concurrent forked processes @Win is 64, and must use wait as
# $SIG{CHLD} = 'IGNORE' does not work.