Ignore:
Timestamp:
Nov 19, 2019, 1:25:56 PM (4 years ago)
Author:
Bruno Cornec
Message:

Reinstall mbr.bin (or pgtmbr.bin) from syslinux before calling boot loader restoration to avoid having nothing if we boot from a partition
(tested with SLES 12)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/common/libmondo-archive.c

    r3650 r3746  
    629629        }
    630630        bootldr_ver = call_program_and_get_last_line_of_output("grub --version 2> /dev/null");
    631         if (strcmp(bootldr_ver,"") ==0) {
     631        if (strcmp(bootldr_ver,"") == 0) {
    632632            mr_free(bootldr_ver);
    633633            bootldr_ver = call_program_and_get_last_line_of_output("grub2-install --version");
Note: See TracChangeset for help on using the changeset viewer.