From 9da7e301ec46d453b0ddd17c42215c82b779dd97 Mon Sep 17 00:00:00 2001 From: bybai Date: Mon, 25 Jan 2016 02:31:36 -0500 Subject: [PATCH] fix defect 627 The postscript confignetwork run out of control and exited with zero exit code --- xCAT/postscripts/confignetwork | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/confignetwork b/xCAT/postscripts/confignetwork index abded311e..5f1474fed 100755 --- a/xCAT/postscripts/confignetwork +++ b/xCAT/postscripts/confignetwork @@ -231,7 +231,7 @@ function sort_nics_device_order { while [ $num1 -lt $max1 ]; do alonenic=`echo "$alone_nics"|sed -n "${num1}p"` - echo "$nics_list"| grep $alonenic >/dev/null + echo "$nics_list"| grep "$alonenic" >/dev/null if [ $? -ne 0 ]; then echo $alonenic fi