Changeset 2590


Ignore:
Timestamp:
Mar 11, 2010, 2:55:56 AM (10 years ago)
Author:
bruno
Message:

r3722@localhost: bruno | 2010-03-09 23:00:30 +0100

  • lvm version can print errors so redirected to /dev/null
File:
1 edited

Legend:

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

    r2587 r2590  
    370370
    371371if which lvm 2>/dev/null; then
    372     version=`lvm version | grep "LVM version" | awk '{print $3}'`
     372    version=`lvm version 2> /dev/null | grep "LVM version" | awk '{print $3}'`
    373373    i="`echo "$version" | cut -d'.' -f1`"
    374374    echo "i=$i"
Note: See TracChangeset for help on using the changeset viewer.