mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 04:36:36 +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:
parent
545a2c5437
commit
dc539c47d7
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user