Remove no longer used variable

This commit is contained in:
Ilia Rostovtsev
2020-10-31 12:34:02 +03:00
parent 20a2fdf400
commit f69c84ef81

View File

@@ -1080,7 +1080,6 @@ if ($cache) {
# 1 day, or if we have rebooted recently
my %cache;
my $uptime = &get_system_uptime();
my $lastreboot = $uptime ? time()-$uptime : undef;
if (&read_file($detect_operating_system_cache, \%cache) &&
$cache{'os_type'} && $cache{'os_version'} &&
$cache{'real_os_type'} && $cache{'real_os_version'}) {