2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

fhem.pl: move $fhem_started before trigger global INITIALIZED (Forum #76698)

git-svn-id: https://svn.fhem.de/fhem/trunk@15091 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-09-18 10:41:04 +00:00
parent 88edc2a392
commit 613fbf61eb

View File

@ -583,8 +583,8 @@ foreach my $d (keys %defs) {
}
}
DoTrigger("global", "INITIALIZED", 1);
$fhem_started = time;
DoTrigger("global", "INITIALIZED", 1);
$attr{global}{motd} .= "Running with root privileges."
if($^O !~ m/Win/ && $<==0 && $attr{global}{motd} =~ m/^$sc_text/);