From 08ffa002fb15bf0058a69e2743771395a5a026c6 Mon Sep 17 00:00:00 2001 From: ertaozh Date: Tue, 30 Jan 2018 00:21:27 -0500 Subject: [PATCH] fix issue 4652: extra warning message for bmcdiscover --- xCAT-server/lib/xcat/plugins/bmcdiscover.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/bmcdiscover.pm b/xCAT-server/lib/xcat/plugins/bmcdiscover.pm index c4f1e2d5c..4674205df 100644 --- a/xCAT-server/lib/xcat/plugins/bmcdiscover.pm +++ b/xCAT-server/lib/xcat/plugins/bmcdiscover.pm @@ -1130,8 +1130,6 @@ sub bmcdiscovery_ipmi { } display_output($opz,$opw,$mtms_node,$mac_node,$node_data,"ipmi",$request_command); - } else { - store_fd({data=>0}, $fd); } } @@ -1156,6 +1154,7 @@ sub bmcdiscovery_openbmc{ my $mtms_node = ""; my $mac_node = ""; + store_fd({data=>1}, $fd); print "$ip: Detected openbmc, attempting to obtain system information...\n"; my $http_protocol="https"; my $openbmc_project_url = "xyz/openbmc_project";