upgrade: Actually prune deployments again

That was a rather critical logic error...
This commit is contained in:
Colin Walters 2013-05-27 09:29:05 -04:00
parent 82f803b625
commit fab160562d
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ ot_admin_builtin_upgrade (int argc, char **argv, OtAdminBuiltinOpts *admin_opts,
GS_SUBPROCESS_STREAM_DISPOSITION_INHERIT,
cancellable, error,
"ostree", "admin", ostree_dir_arg, "pull-deploy", osname, NULL))
goto out;
if (!gs_subprocess_simple_run_sync (gs_file_get_path_cached (ostree_dir),
GS_SUBPROCESS_STREAM_DISPOSITION_INHERIT,