Skip to content

Commit

Permalink
Fix Percent_Lifetime_Remain check
Browse files Browse the repository at this point in the history
  • Loading branch information
Napsty committed Sep 15, 2023
1 parent 4e2d7d2 commit fc19a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_smart.pl
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@

# warning threshold list (for raw checks)
my $warn_list = $opt_w // '';
$warn_list = $opt_w // 'Percent_Lifetime_Remain=90' if $opt_l;
my @warn_list = split /,/, $warn_list;
push @warn_list, 'Percent_Lifetime_Remain=90' if $opt_l;
my %warn_list;
my $warn_key;
my $warn_value;
Expand Down

0 comments on commit fc19a9e

Please sign in to comment.