[ostree/wip/anaconda: 6/6] pull: End status line on error as well
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree/wip/anaconda: 6/6] pull: End status line on error as well
- Date: Wed, 19 Mar 2014 13:50:39 +0000 (UTC)
commit 44c386c8f97d380d261edc5bc4b5c9231f018b03
Author: Colin Walters <walters verbum org>
Date: Mon Mar 17 19:39:59 2014 -0400
pull: End status line on error as well
This way we don't append the error to the current line.
src/ostree/ot-builtin-pull.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ostree/ot-builtin-pull.c b/src/ostree/ot-builtin-pull.c
index 6d8ffc9..b7e4ca4 100644
--- a/src/ostree/ot-builtin-pull.c
+++ b/src/ostree/ot-builtin-pull.c
@@ -89,11 +89,11 @@ ostree_builtin_pull (int argc, char **argv, OstreeRepo *repo, GCancellable *canc
pullflags, progress, cancellable, error))
goto out;
+ ret = TRUE;
+ out:
if (console)
gs_console_end_status_line (console, NULL, NULL);
- ret = TRUE;
- out:
if (context)
g_option_context_free (context);
return ret;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]