2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

Typo fixed (fhem.pl won't start)

git-svn-id: https://svn.fhem.de/fhem/trunk@1764 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2012-07-28 06:27:09 +00:00
parent 14d7e10639
commit 7a8515ae54

View File

@ -1626,11 +1626,12 @@ GlobalAttr($$)
eval {
use vars qw($DISTRIB_DESCRIPTION);
# start of fix
# "Use of uninitialized value" after a fresh 5.2 installation and first time "updatefhem"
# release.pm does not reside in FhemUtils (what it should), so we load it from $modpath
# "Use of uninitialized value" after a fresh 5.2 installation and first
# time "updatefhem" release.pm does not reside in FhemUtils (what it
# should), so we load it from $modpath
if(-e "$modpath/FhemUtils/release.pm") {
require "FhemUtils/release.pm";
} elsif(-e:"$modpath/release.pm") {
} elsif(-e "$modpath/release.pm") {
require "release.pm";
} else {
$DISTRIB_DESCRIPTION = "unknown";