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

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5501 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2014-04-09 20:20:27 +00:00
parent 1a657362c1
commit 70af73360b

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: $!";