grub2: Fix bad substitution in review followup
This caused GRUB2+EFI installations to fail.
This commit is contained in:
parent
159c7537c9
commit
fb3ad0037f
|
|
@ -320,7 +320,7 @@ rm -f ${grub_cfg}.new
|
||||||
/* NOTE: NON-ATOMIC REPLACEMENT; WE can't do anything else on FAT;
|
/* NOTE: NON-ATOMIC REPLACEMENT; WE can't do anything else on FAT;
|
||||||
* see https://bugzilla.gnome.org/show_bug.cgi?id=724246
|
* 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;
|
goto out;
|
||||||
if (!gs_file_rename (new_config_path, self->config_path_efi,
|
if (!gs_file_rename (new_config_path, self->config_path_efi,
|
||||||
cancellable, error))
|
cancellable, error))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue