Ignore:
Timestamp:
Dec 1, 2014, 11:35:37 PM (6 years ago)
Author:
Bruno Cornec
Message:
  • Redirect the stderr of parted2fdisk into /dev/null to avoid error msgs on LVM, even if some are redirected in mondo log files and won't disappear
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/restore-scripts/mondo/grub-MR

    r3047 r3318  
    169169    line=`grep $base /proc/mdstat | head -n1`
    170170    echo "mbrdev was $mbrdev" 2>&1 | tee -a $LOGFILE
    171     mbrdev=`parted2fdisk -l | grep /dev/ | head -n1 | tr ':' ' ' | cut -d' ' -f2`
     171    mbrdev=`parted2fdisk -l 2>/dev/null | grep /dev/ | head -n1 | tr ':' ' ' | cut -d' ' -f2`
    172172    echo "mbrdev is $mbrdev" 2>&1 | tee -a $LOGFILE
    173173    partno="0"; # cheating - FIXME   
Note: See TracChangeset for help on using the changeset viewer.