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:
parent
50d1bcd28f
commit
223409b3cb
@ -512,10 +512,8 @@ sub _cfgDB_Execute($@) {
|
||||
my (@ret);
|
||||
|
||||
foreach my $l (@dbconfig) {
|
||||
$l =~ s/[\r\n]//g;
|
||||
if($l =~ m/\\*$/) { # Multiline commands
|
||||
$l =~ s/\\/\n/g;
|
||||
}
|
||||
$l =~ s/[\r\n]/\n/g;
|
||||
$l =~ s/\\\n/\n/g;
|
||||
my $tret = AnalyzeCommandChain($cl, $l);
|
||||
push @ret, $tret if(defined($tret));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user