wget exit code with -nc

If I try downloading a file which already exists with wget using the --no-clobber option, it works as expected but the exit code is 1 which is crashing my scripts. Why is the exit code 1 and how can I work around it?

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论