会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
没有猫的猫奴
博客园
首页
新随笔
联系
订阅
管理
2021年11月16日
shell脚本中执行curl遇到异常继续执行
摘要: 正常执行:curl -o /dev/null -s -w %{http_code} $url时,遇到异常返回000,脚本退出; 如果需要继续执行脚本,修改为:curl -o /dev/null -s -w %{http_code} $url||true
阅读全文
posted @ 2021-11-16 16:07 没有猫的猫奴
阅读(791)
评论(0)
推荐(0)
公告