- Notifications
You must be signed in to change notification settings - Fork5
Commitfef88b3
committed
Report exit code from external recovery commands properly
When an external recovery command such as restore_command orarchive_cleanup_command fails, report the exit code properly,distinguishing signals and normal exists, using the existingwait_result_to_str() facility, instead of just reporting the returnvalue from system().Reviewed-by: Peter Geoghegan <pg@heroku.com>1 parent7ab3214 commitfef88b3
1 file changed
+6
-5
lines changedLines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
300 | 300 |
| |
301 | 301 |
| |
302 | 302 |
| |
303 |
| - | |
304 |
| - | |
| 303 | + | |
| 304 | + | |
305 | 305 |
| |
306 | 306 |
| |
307 | 307 |
| |
| |||
410 | 410 |
| |
411 | 411 |
| |
412 | 412 |
| |
413 |
| - | |
414 |
| - | |
415 |
| - | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
416 | 417 |
| |
417 | 418 |
| |
418 | 419 |
| |
|
0 commit comments
Comments
(0)