[gnome-builder] subprocess: ensure we propagate subprocess failure
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] subprocess: ensure we propagate subprocess failure
- Date: Fri, 7 Oct 2016 19:34:25 +0000 (UTC)
commit 3256fdcfe91992024f8157fe4e9edaca451948ad
Author: Christian Hergert <chergert redhat com>
Date: Fri Oct 7 12:33:31 2016 -0700
subprocess: ensure we propagate subprocess failure
Dumb bug where we implicitly passed 0 when propagating the
error, so the caller never got it.
libide/subprocess/ide-subprocess.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/subprocess/ide-subprocess.c b/libide/subprocess/ide-subprocess.c
index 507c965..5781067 100644
--- a/libide/subprocess/ide-subprocess.c
+++ b/libide/subprocess/ide-subprocess.c
@@ -180,7 +180,7 @@ ide_subprocess_wait_check_finish (IdeSubprocess *self,
g_return_val_if_fail (G_IS_TASK (result), FALSE);
g_return_val_if_fail (g_task_is_valid (G_TASK (result), self), FALSE);
- return g_task_propagate_boolean (G_TASK (result), FALSE);
+ return g_task_propagate_boolean (G_TASK (result), error);
}
gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]