Ignore:
Timestamp:
Mar 8, 2017, 3:56:44 PM (7 years ago)
Author:
Bruno Cornec
Message:

Fix an eror when restoring live, bkpinfo->media_device is left empty and what_number_cd_is_this wasn't computing the right value.

File:
1 edited

Legend:

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

    r3618 r3654  
    11891189    log_msg(4, "About to set g_boot_mountpt[0] to '\\0'");
    11901190    g_boot_mountpt[0] = '\0';
    1191     log_msg(4, "Done. Great. Seeting command to something");
     1191    log_msg(4, "Done. Great. Setting command to something");
    11921192    mr_asprintf(command, "%s", "grep -v \":\" /etc/fstab | grep -vE '^#.*$' | grep -E \"[   ]/boot[     ]\" | tr -s ' ' '\t' | cut -f1 | head -n1");
    11931193    log_msg(4, "Cool. Command = '%s'", command);
Note: See TracChangeset for help on using the changeset viewer.