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

install-release.sh增加启动和停止服务失败的提醒 #1039

Merged
merged 3 commits into from
Apr 12, 2018
Merged

install-release.sh增加启动和停止服务失败的提醒 #1039

merged 3 commits into from
Apr 12, 2018

Conversation

sunshineplan
Copy link
Contributor

No description provided.

@sunshineplan sunshineplan changed the title 增加启动和停止服务失败的提醒 install-release.sh增加启动和停止服务失败的提醒 Apr 12, 2018
@@ -186,6 +186,10 @@ stopV2ray(){
elif [[ -n "${SERVICE_CMD}" ]] || [[ -f "/etc/init.d/v2ray" ]]; then
${SERVICE_CMD} v2ray stop
fi
if [[ $? -ne 0 ]]; then
colorEcho ${RED} "Failed to shutdown V2Ray service."
return 2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

最好添加一下注释说明'2'的含义,或者统一整个脚本中返回值的含义,然后在文件开头处统一说明。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已在开头出添加说明,由于pr比较分散,最后会再检查一遍。

@codecov
Copy link

codecov bot commented Apr 12, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@a06078e). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1039   +/-   ##
=========================================
  Coverage          ?   75.21%           
=========================================
  Files             ?      225           
  Lines             ?     9986           
  Branches          ?        0           
=========================================
  Hits              ?     7511           
  Misses            ?     1763           
  Partials          ?      712

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a06078e...1097ed9. Read the comment docs.

@DarienRaymond DarienRaymond merged commit 7d80016 into v2ray:master Apr 12, 2018
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.

None yet

2 participants