From 1a98c3b940f98c62b57d9623e9daff2869c712d7 Mon Sep 17 00:00:00 2001 From: Heuzef Date: Fri, 25 Oct 2019 10:40:32 +0200 Subject: [PATCH] Fix package name --- Check.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Check.pm b/Check.pm index 61fb301..194b37b 100644 --- a/Check.pm +++ b/Check.pm @@ -51,7 +51,7 @@ sub action } # Age - if ( $Backups{type} eq "full" or "incr" ) { + if ( $Backups[$host]{type} eq "full" or "incr" ) { $lastAge = sprintf("%.1f", (time - $Backups[-1]{startTime}) / (24 * 3600)); }