From 62caaf051effa3797dc58360795b8656cc2fad86 Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Fri, 17 Apr 2020 11:15:16 +0000 Subject: [PATCH] fhem.pl: Fix Security_Check messages for multi-call (Forum #110306) git-svn-id: https://svn.fhem.de/fhem/trunk@21709 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/fhem.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/fhem/fhem.pl b/fhem/fhem.pl index e16ca93aa..fe0ca6ece 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -6000,6 +6000,7 @@ SecurityCheck() if(@fnd) { unshift(@fnd, "SecurityCheck:"); push(@fnd, "You can disable this message with attr global motd none"); + $defs{global}{init_errors} =~ s/SecurityCheck:.*motd none//s; $defs{global}{init_errors} .= join("\n", @fnd); } }