2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-20 10:10:22 +00:00

fix 5789 xcatlib.sh: line 186: &0 : syntax error (#5790)

This commit is contained in:
Yuan Bai
2018-11-12 15:22:14 +08:00
committed by yangsong
parent 482604f7e5
commit 239ffd7eb7

View File

@@ -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