Skip to content

Commit

Permalink
修复登录成功但无法生成配置问题
Browse files Browse the repository at this point in the history
  • Loading branch information
StackZhao committed Mar 20, 2022
1 parent 2210896 commit d20dfab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions auto_bak.sh
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,10 @@ function deal_file_line(){
echo "$((i-1))行IP-${remote_ip}登录失败"
continue
fi
else
echo "$((i-1))行IP-${remote_ip}登录失败"
continue
fi
echo "$((i-1))行IP-${remote_ip}登录失败"
continue
fi
mv tmp.log ${TEMP_PATH}/ruijie.log
hostname=$(cat ${TEMP_PATH}/ruijie.log | grep "hostname " | awk -F' ' '{print $2}' | head -n 1)
Expand Down

0 comments on commit d20dfab

Please sign in to comment.