Skip to content

Conversation

@lzljbsc
Copy link

@lzljbsc lzljbsc commented May 2, 2022

默认 od 版本为 5.1,$(od --help | grep 'endia') 执行时会返回 0,从而直接退出该脚本,导致后续的判断及错误提示信息无作用。
更改为判断 grep 返回值方式即可。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant