diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-12-17 08:58:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-12-17 08:58:35 +0200 |
commit | dc5296af63000cddc4b46fc205137c20578cb81f (patch) | |
tree | b462355940de8ba0f316313691dd782610147237 | |
parent | 6185323e61367ce5c39a825255ca6424286a1185 (diff) |
Convert to using operator<<(ostream,process_exit)
-rw-r--r-- | bpkg/utility.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bpkg/utility.cxx b/bpkg/utility.cxx index 4990781..8ecda93 100644 --- a/bpkg/utility.cxx +++ b/bpkg/utility.cxx @@ -189,11 +189,7 @@ namespace bpkg diag_record dr (fail); print_process (dr, args); - - dr << " terminated abnormally: " << pe.description (); - - if (pe.core ()) - dr << " (core dumped)"; + dr << " " << pe; } catch (const process_error& e) { |