HomeClusterLabs Projects

ocf-shellfuncs: quote pid in ocf_pidfile_status

Description

ocf-shellfuncs: quote pid in ocf_pidfile_status

Usage of pidfile variable was not quoted so it was not possible to call
ocf_pidfile_status with path containing space. Solution is to add quotes
to -e test and cat command. Also use $() syntax for cat command and
unify indentation.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>

Details

Provenance
jfriesseAuthored on Mar 2 2022, 1:05 PM
Parents
rRc615a4542ce8: Merge pull request #1747 from oalbrigt/db2-fixes
Branches
Unknown
Tags
Unknown

Event Timeline