mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
fhem.pl: cfgDB_ReadAll return value logged
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5126 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
11748e4881
commit
28e8d5b17d
5
fhem.pl
5
fhem.pl
@ -405,7 +405,8 @@ while(time() < 2*3600) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if($attr{global}{configfile} eq 'configDB') {
|
if($attr{global}{configfile} eq 'configDB') {
|
||||||
cfgDB_ReadAll(undef);
|
my $ret = cfgDB_ReadAll(undef);
|
||||||
|
Log 1, "configDB: $ret" if($ret);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
my $ret = CommandInclude(undef, $attr{global}{configfile});
|
my $ret = CommandInclude(undef, $attr{global}{configfile});
|
||||||
@ -1115,7 +1116,7 @@ CommandRereadCfg($$)
|
|||||||
my $ret;
|
my $ret;
|
||||||
|
|
||||||
if($attr{global}{configfile} eq 'configDB') {
|
if($attr{global}{configfile} eq 'configDB') {
|
||||||
cfgDB_ReadAll($cl);
|
$ret = cfgDB_ReadAll($cl);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
setGlobalAttrBeforeFork($cfgfile);
|
setGlobalAttrBeforeFork($cfgfile);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user