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

init.d: fix return status in some sysv functions #80

Closed
wants to merge 1 commit into from
Closed

init.d: fix return status in some sysv functions #80

wants to merge 1 commit into from

Conversation

mxkrsv
Copy link

@mxkrsv mxkrsv commented Oct 31, 2021

Otherwise exit status is false, therefore OpenRC decides that service
startup failed.

Otherwise exit status is false, therefore OpenRC decides that service
startup failed.
@bol-van
Copy link
Owner

bol-van commented Oct 31, 2021

Я не вижу смысла в этой правке. Функции не рассчитаны на возврат значения успех/фейл
смысл править какой-то из execution path, чтобы в итоге чудесным образом там вылезло code=0 ?
тогда уж надо сразу return 0 в конце дописать, и дело с концом

@bol-van bol-van closed this Oct 31, 2021
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.

2 participants