HomeClusterLabs Projects

azure-lb: Be quiet during stop operation

Description

azure-lb: Be quiet during stop operation

Currently, it logs "kill (<pid>) No such process" to stderr during stops.

A stop operation is expected to run kill -s 0 $pid for a nonexistent
PID, so log that at debug level.

A start or monitor operation's kill -s 0 $pid should always succeed,
so any output is unexpected and an error.

Also remove "local" bashism.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Mar 9 2021, 9:25 PM
Parents
rRee904e4ed6d7: Merge pull request #1618 from oalbrigt/configure-dont-use-OCF_ROOT_DIR-from-glue
Branches
Unknown
Tags
Unknown

Event Timeline