HomeClusterLabs Projects
Diffusion Booth 6eb95429bb92

maint: ocf + script: eliminate some false positives with ShellCheck

Description

maint: ocf + script: eliminate some false positives with ShellCheck

In particular, prevent sed's character classes to be confused with
array-like variable access through specified index, which demonstrates
why it's better to have the ${variable} "enbraced".

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>

Details

Provenance
Jan Pokorný <jpokorny@redhat.com>Authored on Jul 19 2018, 1:11 PM
Parents
rB4d7278dbd9cf: maint: test: polish live_test.sh
Branches
Unknown
Tags
Unknown

Event Timeline