Changeset 2044


Ignore:
Timestamp:
Oct 10, 2008, 8:00:51 PM (11 years ago)
Author:
bruno
Message:

Attempt to fix a bug with LVMv1 on RHEL3 where mondorestore segfaults at restore time by returning false to LVM in that conf - CASE:1602066867

File:
1 edited

Legend:

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

    r1942 r2044  
    187187# -------------------------------- main -----------------------------------
    188188which lvmdiskscan 2>/dev/null 2>&1 || Die "lvmdiskscan not found. Won't handle LVM."
    189 if [ -e "/proc/lvm/global" ] && [ "`tr -s '\t' ' ' < /proc/lvm/global | grep "0 VGs 0 PVs 0 LVs"`" != "" ] ; then
    190     exit 0
     189if [ -e "/proc/lvm/global" ] && [ "`tr -s '\t' ' ' < /proc/lvm/global | grep "0 VGs 0 PVs 0 LVs"`" != "" ]; then
     190    exit 1
    191191fi
    192192
Note: See TracChangeset for help on using the changeset viewer.