HomeClusterLabs Projects

Refactor: based: Correct return codes in check_group_membership()

Description

Refactor: based: Correct return codes in check_group_membership()

  • Use bool instead of int return type
  • Use true/false instead of TRUE/FALSE
  • Drop the grp argument since it's always CRM_DAEMON_GROUP
  • Rename to is_daemon_group_member()

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

Details

Provenance
nrwahl2Authored on Fri, Sep 19, 5:31 PM
Parents
rP59b28a3483aa: Refactor: libcib: cib_file_write_live() returns standard code
Branches
Unknown
Tags
Unknown