aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-12-17 08:58:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-12-17 08:58:35 +0200
commitdc5296af63000cddc4b46fc205137c20578cb81f (patch)
treeb462355940de8ba0f316313691dd782610147237
parent6185323e61367ce5c39a825255ca6424286a1185 (diff)
Convert to using operator<<(ostream,process_exit)
-rw-r--r--bpkg/utility.cxx6
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)
{