mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-23 20:52:13 +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:
parent
b702365649
commit
886eebf38f
@ -98,7 +98,7 @@ BlockingStart(;$)
|
|||||||
for my $bpid (sort { $a <=> $b} keys %BC_hash) {
|
for my $bpid (sort { $a <=> $b} keys %BC_hash) {
|
||||||
my $h = $BC_hash{$bpid};
|
my $h = $BC_hash{$bpid};
|
||||||
|
|
||||||
if($h->{pid} =~ m/^\d+$/) {
|
if($h->{pid} && $h->{pid} =~ m/^\d+$/) {
|
||||||
if($^O =~ m/Win/) {
|
if($^O =~ m/Win/) {
|
||||||
# MaxNr of concurrent forked processes @Win is 64, and must use wait as
|
# MaxNr of concurrent forked processes @Win is 64, and must use wait as
|
||||||
# $SIG{CHLD} = 'IGNORE' does not work.
|
# $SIG{CHLD} = 'IGNORE' does not work.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user