- Notifications
You must be signed in to change notification settings - Fork28
Commit9ae8ebe
committed
Improve reporting of error situations in find_other_exec().
This function suppressed any stderr output from the called program, whichis unnecessary in the normal case and unhelpful in error cases. It alsogave a rather opaque message along the lines of "fgets failure: Success"in case the called program failed to return anything on stdout. Sincewe've seen multiple reports of people not understanding what's wrong whenpg_ctl reports this, improve the message.Back-patch to all active branches.1 parentc9a2532 commit9ae8ebe
1 file changed
+10
-2
lines changedLines changed: 10 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
322 | 322 |
| |
323 | 323 |
| |
324 | 324 |
| |
325 |
| - | |
| 325 | + | |
326 | 326 |
| |
327 | 327 |
| |
328 | 328 |
| |
| |||
352 | 352 |
| |
353 | 353 |
| |
354 | 354 |
| |
| 355 | + | |
355 | 356 |
| |
| 357 | + | |
| 358 | + | |
356 | 359 |
| |
| 360 | + | |
357 | 361 |
| |
| 362 | + | |
358 | 363 |
| |
359 | 364 |
| |
360 |
| - | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
361 | 369 |
| |
362 | 370 |
| |
363 | 371 |
| |
|
0 commit comments
Comments
(0)