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 2014-03-17 19:39:59 -04:00
parent b68f8f95f0
commit 44c386c8f9

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;