Report exit code from external recovery commands properly

https://commitfest.postgresql.org/action/patch_view?id=1292
http://archives.postgresql.org/message-id/1385298718.31144.0.camel@vanquo.pezone.net