Changeset 2800 in MondoRescue for branches


Ignore:
Timestamp:
Apr 29, 2011, 3:38:34 PM (13 years ago)
Author:
Bruno Cornec
Message:

r2171@localhost (orig r2170): bruno | 2009-03-25 01:37:44 +0100

  • Fix version syntax for new lvmdiskscan commands by calling --version instead of --help


File:
1 edited

Legend:

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

    r2072 r2800  
    234234fi
    235235
     236# Older lvmdiskscan use --help, newer --version
     237lvmopt="--help"
     238lvmdiskscan $lvmopt 2>&1 | grep -q -- "--version"
     239if [ $? -eq 0 ]; then
     240    lvmopt="--version"
     241fi
     242
     243
    236244lvmversion=`lvmdiskscan --help 2>&1 |
    237245  grep -E "Logical Volume Manager|LVM version:" |
Note: See TracChangeset for help on using the changeset viewer.