From 44c386c8f97d380d261edc5bc4b5c9231f018b03 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 17 Mar 2014 19:39:59 -0400 Subject: [PATCH] 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 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ostree/ot-builtin-pull.c b/src/ostree/ot-builtin-pull.c index 6d8ffc90..b7e4ca40 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;