diff --git a/backuppc_check.pl b/backuppc_check.pl index 6b4fcb9..e861389 100644 --- a/backuppc_check.pl +++ b/backuppc_check.pl @@ -86,7 +86,7 @@ EOF # Print results print("\n----------------\n"); -print("Last Backup : $json->{$last_age}"); +print("Last Backup : $json->{last_age}"); print("\n"); print("Errors : $json->{errors}"); print("\n");