Changeset 3054 in MondoRescue for branches/3.0/mondo/src


Ignore:
Timestamp:
Oct 26, 2012, 4:55:12 AM (11 years ago)
Author:
Bruno Cornec
Message:
  • Fix #652 by sending errors messages from fdisk to /dev/null to avoid LVM error messages on latest versions (Joel Kociolek)
File:
1 edited

Legend:

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

    r3043 r3054  
    10271027    mr_free(tmp);
    10281028
    1029     if (!run_program_and_log_output("parted2fdisk -l | grep -i raid", 1)
     1029    if (!run_program_and_log_output("parted2fdisk -l 2>/dev/null | grep -i raid", 1)
    10301030        && !does_file_exist("/etc/raidtab")) {
    10311031        log_to_screen
Note: See TracChangeset for help on using the changeset viewer.