mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
DoInit undefined fix
git-svn-id: https://svn.fhem.de/fhem/trunk@1004 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
690cff94d4
commit
52a378d53f
@ -507,6 +507,7 @@ CUL_DoInit($)
|
||||
CUL_SimpleWrite($hash, "V");
|
||||
($err, $ver) = CUL_ReadAnswer($hash, "Version", 0, undef);
|
||||
return "$name: $err" if($err && ($err !~ m/Timeout/ || $try == 3));
|
||||
$ver = "" if(!$ver);
|
||||
}
|
||||
|
||||
if($ver !~ m/^V/) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user