From ed27765bf12978d5d98f9cacfe9a698abf5ba223 Mon Sep 17 00:00:00 2001 From: Kilian Cavalotti Date: Fri, 3 Mar 2017 09:30:28 -0800 Subject: [PATCH] fix indentation (tabs instead of spaces) --- xCAT-genesis-scripts/bin/dodiscovery | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT-genesis-scripts/bin/dodiscovery b/xCAT-genesis-scripts/bin/dodiscovery index 5bb3bb894..6d20ba9da 100755 --- a/xCAT-genesis-scripts/bin/dodiscovery +++ b/xCAT-genesis-scripts/bin/dodiscovery @@ -73,10 +73,10 @@ if [ -r /sys/devices/virtual/dmi/id/product_name ]; then #x86 else MTM=`cat /sys/devices/virtual/dmi/id/product_name|awk -F'[' '{print $2}'|awk -F']' '{print $1}'` if [ -z "$MTM" ]; then - FRU=`ipmitool fru print 0` - if [ $? -eq 0 ]; then - MTM=`echo "$FRU" | awk -F': ' '/Product Manufacturer/ {m=$2} /Product Name/ {n=$2} END {print m":"n}'` - fi + FRU=`ipmitool fru print 0` + if [ $? -eq 0 ]; then + MTM=`echo "$FRU" | awk -F': ' '/Product Manufacturer/ {m=$2} /Product Name/ {n=$2} END {print m":"n}'` + fi fi SERIAL=`cat /sys/devices/virtual/dmi/id/product_serial` fi