summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2014-10-27 12:19:32 -0400
committerColin Walters <walters@verbum.org>2014-10-27 12:19:32 -0400
commitfb3ad0037f36e982c8fc04342615399794b65857 (patch)
tree2fe8f981a52e28b51a3d04f267089c0eb7e5a465
parent159c7537c93e37bd7ca5f87ebd7c088c55940843 (diff)
downloadostree-fb3ad0037f36e982c8fc04342615399794b65857.tar.gz
grub2: Fix bad substitution in review followup
This caused GRUB2+EFI installations to fail.
-rw-r--r--src/libostree/ostree-bootloader-grub2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libostree/ostree-bootloader-grub2.c b/src/libostree/ostree-bootloader-grub2.c
index 19d04924..a9fc9f7d 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))