configDB.pm: prevent perl warning when starting
git-svn-id: https://svn.fhem.de/fhem/trunk@10345 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -336,7 +336,7 @@ sub cfgDB_ReadAll($) {
|
||||
my ($cl) = @_;
|
||||
my ($ret, @dbconfig);
|
||||
|
||||
if ($configDB{attr}{rescue} == 1) {
|
||||
if (defined($configDB{attr}{rescue}) && ($configDB{attr}{rescue} == 1)) {
|
||||
Log (0, 'configDB starting in rescue mode!');
|
||||
push (@dbconfig, 'attr global modpath .');
|
||||
push (@dbconfig, 'attr global verbose 3');
|
||||
|
||||
Reference in New Issue
Block a user