[ostree] upgrade: Actually prune deployments again



commit fab160562dec6d90d58951f4339ffeb3a596c283
Author: Colin Walters <walters verbum org>
Date:   Mon May 27 09:29:05 2013 -0400

    upgrade: Actually prune deployments again
    
    That was a rather critical logic error...

 src/ostree/ot-admin-builtin-upgrade.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/ostree/ot-admin-builtin-upgrade.c b/src/ostree/ot-admin-builtin-upgrade.c
index 829e1be..f13ce21 100644
--- a/src/ostree/ot-admin-builtin-upgrade.c
+++ b/src/ostree/ot-admin-builtin-upgrade.c
@@ -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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]