HomeClusterLabs Projects

Low: tools: Fix cibadmin sync call return code logic

Description

Low: tools: Fix cibadmin sync call return code logic

rc > 0 is a call ID only if the call is asynchronous. If cib_sync_call
is set, then rc > 0 is an error. (We don't consistently negate the
legacy pcmk_err codes.)

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

Details

Provenance
nrwahl2Authored on Apr 24 2024, 4:03 AM
Parents
rP05a8745dcea3: Low: libcib: Fix handling of return values in CIB attr update/delete
Branches
Unknown
Tags
Unknown