2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

configDB - fixed: improved command analyzing

git-svn-id: https://svn.fhem.de/fhem/trunk@5867 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2014-05-15 15:14:14 +00:00
parent 50d1bcd28f
commit 223409b3cb

View File

@ -512,10 +512,8 @@ sub _cfgDB_Execute($@) {
my (@ret); my (@ret);
foreach my $l (@dbconfig) { foreach my $l (@dbconfig) {
$l =~ s/[\r\n]//g; $l =~ s/[\r\n]/\n/g;
if($l =~ m/\\*$/) { # Multiline commands $l =~ s/\\\n/\n/g;
$l =~ s/\\/\n/g;
}
my $tret = AnalyzeCommandChain($cl, $l); my $tret = AnalyzeCommandChain($cl, $l);
push @ret, $tret if(defined($tret)); push @ret, $tret if(defined($tret));
} }