HomeClusterLabs Projects

LVM Agents: Add quotes around expressions used in conditionals

Description

LVM Agents: Add quotes around expressions used in conditionals

When variables have the possibility of expanding to more than one word,
we must have quotes around them or we will get errors, like:
"line 46: [: too many arguments"

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>

Details

Provenance
Jonathan Brassow <jbrassow@redhat.com>Authored on Oct 5 2012, 3:08 PM
Parents
rR414431e5da0a: LVM Agents: Warn instead of fail if initrd is newer than lvm.conf
Branches
Unknown
Tags
Unknown

Event Timeline