Remove repeated assigmnent

This commit is contained in:
vlatan 2024-04-24 00:46:42 +02:00
parent b2c11b2d81
commit 0dc9caaf95

View file

@ -595,7 +595,6 @@ sub os_setup {
chomp($physical_memory);
chomp($swap_memory);
chomp($os);
$physical_memory=$opt{forcemem} if (defined($opt{forcemem}) and $opt{forcemem} gt 0);
$result{'OS'}{'OS Type'} = $os;
$result{'OS'}{'Physical Memory'}{'bytes'} = $physical_memory;
$result{'OS'}{'Physical Memory'}{'pretty'} = hr_bytes($physical_memory);