2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

fhem.pl: added Log to version (by betateilchen)

git-svn-id: https://svn.fhem.de/fhem/trunk@5501 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-04-09 20:20:27 +00:00
parent 72b3ae148c
commit d94d358bcf

View File

@ -2403,6 +2403,7 @@ CommandVersion($$)
push @ret, cfgDB_svnId if $attr{global}{configfile} eq 'configDB';
foreach my $m (sort keys %modules) {
next if(!$modules{$m}{LOADED} || $modules{$m}{ORDER} < 0);
Log 4, "Looking for SVN Id in module $m";
my $fn = "$attr{global}{modpath}/FHEM/".$modules{$m}{ORDER}."_$m.pm";
if(!open(FH, $fn)) {
push @ret, "$fn: $!";