From beb8ca4bdd95ac596d6ea6e3dbfd5eab377f0eea Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Thu, 21 Aug 2014 05:47:19 +0000 Subject: [PATCH] update: do not Log check result git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6437 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_update.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/98_update.pm b/fhem/FHEM/98_update.pm index 599f2e41d..efebda78d 100644 --- a/fhem/FHEM/98_update.pm +++ b/fhem/FHEM/98_update.pm @@ -18,6 +18,7 @@ sub upd_writeFile($$$$); my $updateInBackground; my $updRet; my %updDirs; +my $updArg; ######################################## @@ -47,6 +48,7 @@ CommandUpdate($$) $updateInBackground = AttrVal("global","updateInBackground",undef); $updateInBackground = 0 if($arg ne "all"); + $updArg = $arg; if($updateInBackground) { CallFn($cl->{NAME}, "ActivateInformFn", $cl); BlockingCall("doUpdateInBackground", {src=>$src,arg=>$arg}); @@ -69,7 +71,7 @@ uLog($$) if($updateInBackground) { Log 1, $arg; } else { - Log $loglevel, $arg; + Log $loglevel, $arg if($updArg ne "check"); $updRet .= "$arg\n"; } }