HomeClusterLabs Projects

Refactor: tools: Best practices for crm_shadow.c:shadow_setup()

Description

Refactor: tools: Best practices for crm_shadow.c:shadow_setup()

Remove redundant name argument (was always options.instance), use bool
instead of gboolean, check CIB_shadow variable in addition to prompt,
improve messages, avoid strstr() for detecting bash shell, add doxygen,
use case-sensitive comparison for prompt.

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

Details

Provenance
nrwahl2Authored on Mar 8 2023, 4:51 PM
Parents
rP85a0a2c99aa9: Refactor: tools: De-inline crm_shadow.c:set_danger_error()
Branches
Unknown
Tags
Unknown