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


Ignore:
Timestamp:
Jan 8, 2010, 5:29:52 PM (14 years ago)
Author:
Bruno Cornec
Message:

r3761@localhost: bruno | 2010-01-08 15:59:41 +0100

  • Fix syntax issue in analyze-my-lvm
  • Better doc for pre and post
File:
1 edited

Legend:

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

    r2536 r2537  
    5252    fi
    5353    # Do not process LV whose VG are excluded
    54     if ["`grep $volume_group $MINDI_TMP/excludedvgs`" = "" ]; then
    55         echo "# $LVMCMD lvcreate$params -n $logical_volume $volume_group"
     54    if [ -f $MINDI_TMP/excludedvgs ]; then
     55        if [ "`grep $volume_group $MINDI_TMP/excludedvgs`" = "" ]; then
     56            echo "# $LVMCMD lvcreate$params -n $logical_volume $volume_group"
     57        fi
    5658    fi
    5759    rm -f $MINDI_TMP/excludedvgs
Note: See TracChangeset for help on using the changeset viewer.