diff --git a/src/rpmostree-builtin-rollback.c b/src/rpmostree-builtin-rollback.c index b39a7ea2..49fc6964 100644 --- a/src/rpmostree-builtin-rollback.c +++ b/src/rpmostree-builtin-rollback.c @@ -93,6 +93,12 @@ rpmostree_builtin_rollback (int argc, /* There is an earlier deployment, let's assume we want to just * insert the current one in front. */ + + /* + What this does is, if we're NOT in the default boot index, it plans to prepend + our current index (1, since we can't have more than two trees) so that it becomes index 0 + (default) and the current default becomes index 1 + */ index_to_prepend = booted_index; } else