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

Fix the return code when stop the node that is started by pg_autoctl #572

Merged
merged 2 commits into from
Jan 18, 2021

Conversation

gfphoenix78
Copy link
Contributor

When the node is not started by pg_autoctl, the pid file doesn't
exist, so pg_autoctl raises an error(calls log_fatal(...)). But
log_fatal() is not a no-return function, it finally returns 0 to
its parent process.

When the node is not started by pg_autoctl, the pid file doesn't
exist, so pg_autoctl raises an error(calls log_fatal(...)). But
log_fatal() is not a no-return function, it finally returns 0 to
its parent process.
@DimCitus DimCitus self-assigned this Jan 18, 2021
@DimCitus DimCitus added the bug Something isn't working label Jan 18, 2021
@DimCitus DimCitus added this to the Sprint 2021 W2 W3 milestone Jan 18, 2021
@DimCitus DimCitus merged commit fe4ad61 into hapostgres:master Jan 18, 2021
@DimCitus
Copy link
Collaborator

Thanks for your contribution @gfphoenix78 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants