diff --git a/xCAT/postscripts/confignics b/xCAT/postscripts/confignics index b25163c94..4fc91aae6 100755 --- a/xCAT/postscripts/confignics +++ b/xCAT/postscripts/confignics @@ -203,7 +203,7 @@ do echo "confignics on $NODE: processing custom scripts: ${array_temp[3]} for interface $key" ${array_temp[3]} else - if [ -n "${array_temp[2]}" ];then + if [ -z "${array_temp[2]}" ];then logger -t xcat -p local4.info "confignics: ip address,nic type and network are required. $key: $str_value ." echo "confignics on $NODE: ip address,nic type and network are required. $key: $str_value ." continue