From e7172c8f63bedb9501900e3a9e153e6af3a7cf1c Mon Sep 17 00:00:00 2001 From: cxhong Date: Mon, 27 Apr 2020 15:38:46 -0400 Subject: [PATCH] modify the release string --- ipmitool/bldipmi.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipmitool/bldipmi.pl b/ipmitool/bldipmi.pl index 2f58691..a2cd585 100755 --- a/ipmitool/bldipmi.pl +++ b/ipmitool/bldipmi.pl @@ -13,7 +13,7 @@ if (grep /Red Hat Enterprise Linux Server release 5\.\d/, @output) { $os = "rh6"; } elsif (grep /Red Hat Enterprise Linux Server release 7\.\d/, @output) { $os = "rh7"; -} elsif (grep /Red Hat Enterprise Linux Server release 8\.\d/, @output) { +} elsif (grep /Red Hat Enterprise Linux release 8\.\d/, @output) { $os = "rh8"; } elsif (grep /CentOS Linux release 7\.\d/, @output) { $os = "rh7";