grub2: Fix bad substitution in review followup

This caused GRUB2+EFI installations to fail.
This commit is contained in:
Colin Walters 2014-10-27 12:19:32 -04:00
parent 159c7537c9
commit fb3ad0037f

View File

@ -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))