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:
parent
b68f8f95f0
commit
44c386c8f9
|
|
@ -89,11 +89,11 @@ ostree_builtin_pull (int argc, char **argv, OstreeRepo *repo, GCancellable *canc
|
||||||
pullflags, progress, cancellable, error))
|
pullflags, progress, cancellable, error))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
|
ret = TRUE;
|
||||||
|
out:
|
||||||
if (console)
|
if (console)
|
||||||
gs_console_end_status_line (console, NULL, NULL);
|
gs_console_end_status_line (console, NULL, NULL);
|
||||||
|
|
||||||
ret = TRUE;
|
|
||||||
out:
|
|
||||||
if (context)
|
if (context)
|
||||||
g_option_context_free (context);
|
g_option_context_free (context);
|
||||||
return ret;
|
return ret;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue