mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-21 02:50:37 +03:00
tool: End status line in switch/upgrade too
This commit is contained in:
parent
11ecf9267e
commit
ad46467f2b
@ -145,6 +145,8 @@ ot_admin_builtin_switch (int argc, char **argv, OstreeSysroot *sysroot, GCancell
|
||||
|
||||
ret = TRUE;
|
||||
out:
|
||||
if (console)
|
||||
gs_console_end_status_line (console, NULL, NULL);
|
||||
if (new_origin)
|
||||
g_key_file_unref (new_origin);
|
||||
if (context)
|
||||
|
@ -108,6 +108,8 @@ ot_admin_builtin_upgrade (int argc, char **argv, OstreeSysroot *sysroot, GCancel
|
||||
|
||||
ret = TRUE;
|
||||
out:
|
||||
if (console)
|
||||
gs_console_end_status_line (console, NULL, NULL);
|
||||
if (context)
|
||||
g_option_context_free (context);
|
||||
return ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user