HomeClusterLabs Projects

Refactor: tools: Fix NULL check in crm_shadow

Description

Refactor: tools: Fix NULL check in crm_shadow

options.shadow should also be NULL-checked here since we use it in the
error message. We can make the condition more compact by using
pcmk__str_null_matches.

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

Details

Provenance
nrwahl2Authored on Feb 23 2023, 2:35 PM
Parents
rP64c6157d876a: Refactor: tools: Remove SET_COMMAND() macro from crm_shadow
Branches
Unknown
Tags
Unknown