imag/bin/core
Matthias Beyer f1a639ea8c Change id reporting API to return ExitCode
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>
2019-02-11 03:22:56 +01:00
..
imag Remove log-destination-override features 2019-02-05 01:03:39 +01:00
imag-annotate Rewrite iteration 2019-02-10 01:00:38 +01:00
imag-category Update copyright years 2019-01-03 18:41:36 +01:00
imag-diagnostics Update copyright years 2019-01-03 18:41:36 +01:00
imag-edit Update copyright years 2019-01-03 18:41:36 +01:00
imag-git Update copyright years 2019-01-03 18:41:36 +01:00
imag-gps Change id reporting API to return ExitCode 2019-02-11 03:22:56 +01:00
imag-grep Change id reporting API to return ExitCode 2019-02-11 03:22:56 +01:00
imag-ids Change id reporting API to return ExitCode 2019-02-11 03:22:56 +01:00
imag-init Update copyright years 2019-01-03 18:41:36 +01:00
imag-link Change id reporting API to return ExitCode 2019-02-11 03:22:56 +01:00
imag-mv Change id reporting API to return ExitCode 2019-02-11 03:22:56 +01:00
imag-ref Change id reporting API to return ExitCode 2019-02-11 03:22:56 +01:00
imag-store Change id reporting API to return ExitCode 2019-02-11 03:22:56 +01:00
imag-tag Change id reporting API to return ExitCode 2019-02-11 03:22:56 +01:00
imag-view Change id reporting API to return ExitCode 2019-02-11 03:22:56 +01:00