BlockingCall should return the right thing for blockingKill
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2967 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -69,11 +69,11 @@ BlockingCall($$@)
|
||||
}
|
||||
|
||||
if($pid) {
|
||||
my %h = ( pid=>$pid, fn=>$blockingFn, finishFn=>$finishFn );
|
||||
if($timeout) {
|
||||
my %h = ( pid=>$pid, fn=>$blockingFn, finishFn=>$finishFn );
|
||||
InternalTimer(gettimeofday()+$timeout, "BlockingKill", \%h, 0);
|
||||
}
|
||||
return $pid;
|
||||
return \%h;
|
||||
}
|
||||
|
||||
# Child here
|
||||
|
||||
Reference in New Issue
Block a user