From dc5296af63000cddc4b46fc205137c20578cb81f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 17 Dec 2017 08:58:35 +0200 Subject: Convert to using operator<<(ostream,process_exit) --- bpkg/utility.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'bpkg/utility.cxx') 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) { -- cgit v1.1