Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复 mknanduboot.sh 中 od 版本判断时 逻辑错误 #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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