mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +00:00
Blocking.pm: add an event and stacktrace if fork fails
git-svn-id: https://svn.fhem.de/fhem/trunk@17552 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
29b0e609b4
commit
bb8de23a82
@ -172,6 +172,8 @@ BlockingStart(;$)
|
||||
my $pid = fhemFork;
|
||||
if(!defined($pid)) {
|
||||
Log 1, "Cannot fork: $!";
|
||||
stacktrace() if(AttrVal("global", "verbose", 1) >= 5);
|
||||
DoTrigger("global", "CANNOT_FORK", 1);
|
||||
return $curr;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user