From 7eaacd8dbdb1a2f3fbdef2fc5fcd790b612598c4 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Sun, 3 Jan 2016 11:44:41 +0000 Subject: [PATCH] configDB.pm: prevent perl warning when starting git-svn-id: https://svn.fhem.de/fhem/trunk@10345 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/configDB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/configDB.pm b/fhem/configDB.pm index cda7329e8..8b120948a 100644 --- a/fhem/configDB.pm +++ b/fhem/configDB.pm @@ -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');