Skip to content
Snippets Groups Projects
Commit fef88b3f authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

Report exit code from external recovery commands properly


When an external recovery command such as restore_command or
archive_cleanup_command fails, report the exit code properly,
distinguishing signals and normal exists, using the existing
wait_result_to_str() facility, instead of just reporting the return
value from system().

Reviewed-by: default avatarPeter Geoghegan <pg@heroku.com>
parent 7ab32140
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment