From bda0ab39f78ad84316d0577634b738a74097fe37 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Fri, 3 Nov 2023 17:50:08 +0000 Subject: [PATCH] 98_update.pm: avoid warning if called from DOIF (Forum #135611) git-svn-id: https://svn.fhem.de/fhem/trunk@28123 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_update.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/98_update.pm b/fhem/FHEM/98_update.pm index 0398c941b..89a5e4312 100644 --- a/fhem/FHEM/98_update.pm +++ b/fhem/FHEM/98_update.pm @@ -81,7 +81,7 @@ CommandUpdate($$) return "An update is already running" if($upd_running); $upd_running = 1; if($updateInBackground) { - CallFn($cl->{NAME}, "ActivateInformFn", $cl, "log"); + CallFn($cl->{NAME}, "ActivateInformFn", $cl, "log") if($cl); sub updDone(@) { $upd_running=0 } BlockingCall("doUpdateInBackground", {src=>$src,arg=>$arg}, "updDone"); return "Executing the update the background.";