From 2b53ddf873d749e1c151e2d6345acd95dc47efda Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 12 Oct 2014 12:25:44 +0000 Subject: [PATCH] 98_update: fix multiple backup if running in the background git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6752 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/98_update.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/FHEM/98_update.pm b/FHEM/98_update.pm index 78c83205c..1e5ef1a26 100644 --- a/FHEM/98_update.pm +++ b/FHEM/98_update.pm @@ -85,6 +85,7 @@ update_Log2Event($$) my ($level, $text) = @_; return if($inLog || $level > $attr{global}{verbose}); $inLog = 1; + $text =~ s/\n/ /g; # Multiline text causes havoc in Analyze BlockingInformParent("DoTrigger", ["global", $text, 1], 0); BlockingInformParent("Log", [$level, $text], 0); $inLog = 0; @@ -245,7 +246,9 @@ doUpdate($$) uLog(1, "Please consider using the global attribute sendStatistics"); } elsif(defined($ss) && lc($ss) eq "onupdate") { uLog(1, ""); - uLog(1, AnalyzeCommandChain(undef, "fheminfo send")); + my $ret = AnalyzeCommandChain(undef, "fheminfo send"); + $ret =~ s/.*server response:/server response:/ms; + uLog(1, "fheminfo $ret"); } }