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

incorrect return value on start when service is already started #12

Closed
onlyjob opened this issue Sep 28, 2017 · 2 comments
Closed

incorrect return value on start when service is already started #12

onlyjob opened this issue Sep 28, 2017 · 2 comments

Comments

@onlyjob
Copy link
Contributor

onlyjob commented Sep 28, 2017

# systemctl start rsyslog
ERROR:systemctl:the service is already running on PID 109

Command exits with return value 1 which is wrong (this is not an error condition).
Note that systemd returns 0 in such case (same as SysV).

@gdraheim
Copy link
Owner

gdraheim commented Oct 3, 2017

this should be fixed now

@gdraheim gdraheim closed this as completed Oct 3, 2017
@onlyjob
Copy link
Contributor Author

onlyjob commented Oct 5, 2017

Thanks. :)

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