Ignore:
Timestamp:
Jun 24, 2006, 6:08:01 PM (14 years ago)
Author:
bcornec
Message:

Fix a bug in analyze-my-lvm for RHEL3 where vgdisplay prints an additional field sometimes (#). Report and proposal by severine.lombardo_at_acoss.fr

File:
1 edited

Legend:

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

    r673 r678  
    169169
    170170ListLvmDrivesAndPartitions() {
    171     $LVMCMD vgdisplay -v |grep "PV Name" | awk '{print $3}'
     171    $LVMCMD vgdisplay -v |grep "PV Name" | sed 's/(#)//' | awk '{print $3}'
    172172}
    173173
Note: See TracChangeset for help on using the changeset viewer.