update: do not Log check result
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6437 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user