Matthias Beyer
f1a639ea8c
Because this API only errors when write!() errors occur, we can return the exit code as an error here. This way the user of the API can immediately exit if there was an IO error, but the API automatically takes care of the right return value, returning (exiting) with zero (0) if there was an "Broken pipe" error and with one (1) otherwise, which is the expected behaviour here. All calls to that API were changed accordingly. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> |
||
---|---|---|
.. | ||
imag | ||
imag-annotate | ||
imag-category | ||
imag-diagnostics | ||
imag-edit | ||
imag-git | ||
imag-gps | ||
imag-grep | ||
imag-ids | ||
imag-init | ||
imag-link | ||
imag-mv | ||
imag-ref | ||
imag-store | ||
imag-tag | ||
imag-view |