pull: End status line on error as well

This way we don't append the error to the current line.
This commit is contained in:
Colin Walters committed 2014-03-19 09:49:55 -04:00
1 parent b68f8f95f0
commit 44c386c8f9
1 file changed
+2 -2
+2 -2
View File
@@ -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;