2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 16:59:18 +00:00

Blocking.pm: fix useless warning (Forum #74128)

git-svn-id: https://svn.fhem.de/fhem/trunk@14734 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-07-17 09:07:13 +00:00
parent b00e072e45
commit 540ca084ef

View File

@ -265,7 +265,7 @@ BlockingKill($)
}
InternalTimer(gettimeofday()+1, "BlockingStart", \%BC_hash, 0)
if(kill(0, $h->{pid})); # Forum #58867
if(looks_like_number($h->{pid}) && kill(0, $h->{pid})); # Forum #58867
}
}
BlockingStart();