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

opscripts list error #5

Open
qixiaobo opened this issue Dec 5, 2018 · 1 comment
Open

opscripts list error #5

qixiaobo opened this issue Dec 5, 2018 · 1 comment

Comments

@qixiaobo
Copy link

qixiaobo commented Dec 5, 2018

[root@test opt]# opscripts list
Available commands:
============== bin ==============
/opt/awesome-scripts/opscripts-common.sh: line 24: continue: only meaningful in a for', while', or `until' loop

=========== java/bin ============
/opt/awesome-scripts/opscripts-common.sh: line 24: continue: only meaningful in a for', while', or `until' loop

@superhj1987
Copy link
Owner

看错误 应该是执行ls -l $1/bin |grep -v '^d' |awk '{print $9}'时没有返回,你可以在命令行直接敲一下这个命令,看看什么现象。$1换成你的opscript的目录

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

No branches or pull requests

2 participants