HomeClusterLabs Projects

Med: Strip whitespace before checking for empty string in HA LVM

Description

Med: Strip whitespace before checking for empty string in HA LVM

Using vgs to check for a tag with 'vgs -o tags --noheadings' will
produce 9 space characters when no tags are found. This patch strips
that space before checking whether the output is empty.

Patch originally from Frank Danapfel <fdanapfe@redhat.com>

Signed-off-by: Ryan McCabe <rmccabe@redhat.com>

Details

Provenance
Ryan McCabe <rmccabe@redhat.com>Authored on Oct 10 2012, 5:15 PM
Parents
rRf068c045f6b9: Med: Update member_util to use corosync and pacemaker
Branches
Unknown
Tags
Unknown

Event Timeline