From 239ffd7eb78666f0f60698ef9edb8d8f121db378 Mon Sep 17 00:00:00 2001 From: Yuan Bai Date: Mon, 12 Nov 2018 15:22:14 +0800 Subject: [PATCH] fix 5789 xcatlib.sh: line 186: &0 : syntax error (#5790) --- xCAT/postscripts/xcatlib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/xcatlib.sh b/xCAT/postscripts/xcatlib.sh index afa5bcf87..e8f9859ab 100755 --- a/xCAT/postscripts/xcatlib.sh +++ b/xCAT/postscripts/xcatlib.sh @@ -107,7 +107,7 @@ function v4prefix2mask(){ local num_index=1 local str_temp='' local str_mask='' - + [ ! $a ] && a=0 while [[ $num_index -le 4 ]] do if [ $a -ge 8 ];then