[Pkg-privacy-commits] [libgsecuredelete] 59/168: Better uniformity in reported error message
Ulrike Uhlig
u-guest at moszumanska.debian.org
Thu Jul 7 20:06:39 UTC 2016
This is an automated email from the git hooks/post-receive script.
u-guest pushed a commit to branch master
in repository libgsecuredelete.
commit 8e39048a81997252edcb93e08be7880673c0283f
Author: Colomban Wendling <ban at herbesfolles.org>
Date: Fri Feb 26 23:06:52 2010 +0100
Better uniformity in reported error message
Place our own small error description on a line before the subprocess'
error since it is often multi-line.
---
gsecuredelete/async-operation.vala | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gsecuredelete/async-operation.vala b/gsecuredelete/async-operation.vala
index 4b86897..7cd0cad 100644
--- a/gsecuredelete/async-operation.vala
+++ b/gsecuredelete/async-operation.vala
@@ -293,10 +293,9 @@ namespace Gsd
finished = false;
} else {
if (! Process.if_exited (exit_status)) {
- message = "Subprocess crashed: " + get_subprocess_error_msg ();
+ message = "Subprocess crashed.\n" + get_subprocess_error_msg ();
} else if (Process.exit_status (exit_status) != 0) {
- /* get errors reported by the child */
- message = "Subprocess failed: " + get_subprocess_error_msg ();
+ message = "Subprocess failed.\n" + get_subprocess_error_msg ();
} else {
success = true;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/libgsecuredelete.git
More information about the Pkg-privacy-commits
mailing list