upgrade: Actually prune deployments again
That was a rather critical logic error...
This commit is contained in:
parent
82f803b625
commit
fab160562d
|
|
@ -93,6 +93,7 @@ ot_admin_builtin_upgrade (int argc, char **argv, OtAdminBuiltinOpts *admin_opts,
|
||||||
GS_SUBPROCESS_STREAM_DISPOSITION_INHERIT,
|
GS_SUBPROCESS_STREAM_DISPOSITION_INHERIT,
|
||||||
cancellable, error,
|
cancellable, error,
|
||||||
"ostree", "admin", ostree_dir_arg, "pull-deploy", osname, NULL))
|
"ostree", "admin", ostree_dir_arg, "pull-deploy", osname, NULL))
|
||||||
|
goto out;
|
||||||
|
|
||||||
if (!gs_subprocess_simple_run_sync (gs_file_get_path_cached (ostree_dir),
|
if (!gs_subprocess_simple_run_sync (gs_file_get_path_cached (ostree_dir),
|
||||||
GS_SUBPROCESS_STREAM_DISPOSITION_INHERIT,
|
GS_SUBPROCESS_STREAM_DISPOSITION_INHERIT,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue