mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 10:46:53 +00:00
Blocking.pm: specify loglevel for Timout messages (Forum #77057)
git-svn-id: https://svn.fhem.de/fhem/trunk@15128 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4e35d07ed0
commit
52076bed65
@ -252,7 +252,8 @@ BlockingKill($)
|
||||
|
||||
if($^O !~ m/Win/) {
|
||||
if($h->{pid} && $h->{pid} !~ m/:/ && kill(9, $h->{pid})) {
|
||||
Log 1, "Timeout for $h->{fn} reached, terminated process $h->{pid}";
|
||||
my $ll = (defined($h->{loglevel}) ? $h->{loglevel} : 1); # Forum #77057
|
||||
Log $ll, "Timeout for $h->{fn} reached, terminated process $h->{pid}";
|
||||
if($h->{abortFn}) {
|
||||
no strict "refs";
|
||||
my $ret = &{$h->{abortFn}}($h->{abortArg});
|
||||
|
Loading…
x
Reference in New Issue
Block a user