[ostree] grub2: Fix bad substitution in review followup



commit fb3ad0037f36e982c8fc04342615399794b65857
Author: Colin Walters <walters verbum org>
Date:   Mon Oct 27 12:19:32 2014 -0400

    grub2: Fix bad substitution in review followup
    
    This caused GRUB2+EFI installations to fail.

 src/libostree/ostree-bootloader-grub2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libostree/ostree-bootloader-grub2.c b/src/libostree/ostree-bootloader-grub2.c
index 19d0492..a9fc9f7 100644
--- a/src/libostree/ostree-bootloader-grub2.c
+++ b/src/libostree/ostree-bootloader-grub2.c
@@ -320,7 +320,7 @@ rm -f ${grub_cfg}.new
       /* NOTE: NON-ATOMIC REPLACEMENT; WE can't do anything else on FAT;
        * see https://bugzilla.gnome.org/show_bug.cgi?id=724246
        */
-      if (!ot_gfile_ensure_unlinked (new_config_path, cancellable, error))
+      if (!ot_gfile_ensure_unlinked (self->config_path_efi, cancellable, error))
         goto out;
       if (!gs_file_rename (new_config_path, self->config_path_efi,
                            cancellable, error))


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