mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
74_Nmap: fix multiple declaration in same scope
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13769 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
51c6cebc4e
commit
fc0850b3f3
@ -509,7 +509,7 @@ sub Nmap_updateUptime($$;$) {
|
|||||||
my ($hash, $metaReading, $uptime) = @_;
|
my ($hash, $metaReading, $uptime) = @_;
|
||||||
my $SELF = $hash->{NAME};
|
my $SELF = $hash->{NAME};
|
||||||
|
|
||||||
my $uptime =(
|
$uptime =(
|
||||||
ReadingsVal($SELF, $metaReading."_uptime", 0)
|
ReadingsVal($SELF, $metaReading."_uptime", 0)
|
||||||
+ ReadingsAge($SELF, $metaReading."_uptime", 0)
|
+ ReadingsAge($SELF, $metaReading."_uptime", 0)
|
||||||
) unless($uptime);
|
) unless($uptime);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user