Changeset 2684 in MondoRescue for branches/2.2.9/mindi/analyze-my-lvm


Ignore:
Timestamp:
Sep 14, 2010, 2:40:03 AM (14 years ago)
Author:
Bruno Cornec
Message:
  • Fix #445 with another technical solution to avoid vg with similar names to b wrongly excluded (vgroot and vgroot-san e.g.) (Michael Shapiro)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/analyze-my-lvm

    r2620 r2684  
    6969    # Do not process LV whose VG are excluded
    7070    if [ -f $MINDI_TMP/excludedvgs ]; then
    71         if [ "`grep $volume_group $MINDI_TMP/excludedvgs`" != "" ]; then
     71        if [ "`grep -x $volume_group $MINDI_TMP/excludedvgs`" != "" ]; then
    7272            echo "Not including LV $logical_volume as VG $volume_group was excluded"
    7373            return
Note: See TracChangeset for help on using the changeset viewer.