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 b63f4484f3
commit 53594b47a1

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);
}
}