[gnome-builder] flatpak: fix comparison for valid process
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] flatpak: fix comparison for valid process
- Date: Thu, 16 Feb 2017 08:13:19 +0000 (UTC)
commit 665aa9719d169e7d1869c627f352af6fef1172aa
Author: Christian Hergert <chergert redhat com>
Date: Thu Feb 16 00:13:06 2017 -0800
flatpak: fix comparison for valid process
plugins/flatpak/gbp-flatpak-application-addin.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/flatpak/gbp-flatpak-application-addin.c b/plugins/flatpak/gbp-flatpak-application-addin.c
index 2963c3b..1ecfdd1 100644
--- a/plugins/flatpak/gbp-flatpak-application-addin.c
+++ b/plugins/flatpak/gbp-flatpak-application-addin.c
@@ -211,7 +211,7 @@ gbp_flatpak_application_addin_remove_old_repo (GbpFlatpakApplicationAddin *self
process = ide_subprocess_launcher_spawn (launcher, cancellable, error);
- if (process == NULL)
+ if (process != NULL)
ret = ide_subprocess_wait (process, cancellable, error);
IDE_RETURN (ret);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]