Commit fe4ad61
authored
Fix the return code when stop the node that is started by pg_autoctl (#572)
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.1 parent 8be3d7c commit fe4ad61
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
| 421 | + | |
421 | 422 | | |
422 | 423 | | |
423 | 424 | | |
| |||
0 commit comments