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.";