bugfix: SYSMON: prevent empty line im log by userReadings

git-svn-id: https://svn.fhem.de/fhem/trunk@6970 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
hexenmeister
2014-11-14 20:01:35 +00:00
parent b29fa769e7
commit 236925d4b3

View File

@@ -30,7 +30,7 @@ package main;
use strict;
use warnings;
my $VERSION = "1.9.4.4";
my $VERSION = "1.9.4.5";
use constant {
PERL_VERSION => "perl_version",
@@ -932,6 +932,7 @@ SYSMON_getUserDefined($$$$)
logF($hash, "SYSMON_getUserDefined", "Name=[$uName] Cmd=[$uCmd]");
my $out_str = SYSMON_execute($hash, $uCmd);
chomp $out_str;
$map->{$uName} = $out_str;
return $map;