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

make status command exit with proper code #2205

Conversation

phildier
Copy link

This makes service grafana-server status exit with the proper code and allows the chef service provider to start it properly.

In particular, when the service isn't running, the status command should exit with 3, but it was always exiting with 0

torkelo added a commit that referenced this pull request Jun 22, 2015
…rn-correct-exitcode

make status command exit with proper code
@torkelo torkelo merged commit f3ba491 into grafana:master Jun 22, 2015
@torkelo
Copy link
Member

torkelo commented Jun 22, 2015

thank you!

@ying-jeanne ying-jeanne added the pr/external This PR is from external contributor label Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/external This PR is from external contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants