2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

fhem.pl: configDb readability patch (Forum #48436)

git-svn-id: https://svn.fhem.de/fhem/trunk@10679 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-01-31 11:16:59 +00:00
parent 545a2c5437
commit dc539c47d7

View File

@ -498,15 +498,15 @@ my $cfgErrMsg = "Messages collected while initializing FHEM:";
my $cfgRet="";
if(configDBUsed()) {
my $ret = cfgDB_ReadAll(undef);
$cfgRet .= "configDB: $ret" if($ret);
$cfgRet .= "configDB: $ret\n" if($ret);
} else {
my $ret = CommandInclude(undef, $attr{global}{configfile});
$cfgRet .= "configfile: $ret" if($ret);
$cfgRet .= "configfile: $ret\n" if($ret);
if($attr{global}{statefile} && -r $attr{global}{statefile}) {
$ret = CommandInclude(undef, $attr{global}{statefile});
$cfgRet .= "statefile: $ret" if($ret);
$cfgRet .= "statefile: $ret\n" if($ret);
}
}