未验证 提交 45c00251 编写于 作者: 阿福Chris's avatar 阿福Chris 提交者: GitHub

增加非root运行脚本立刻退出逻辑 (#109)

上级 ebae85db
...@@ -76,6 +76,7 @@ function get_python() ...@@ -76,6 +76,7 @@ function get_python()
{ {
if [ `id -u` != 0 ] ; then if [ `id -u` != 0 ] ; then
echo "Please use root to run" echo "Please use root to run"
exit 1
fi fi
obd_dir=`dirname $0` obd_dir=`dirname $0`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册