HomeClusterLabs Projects
Diffusion Booth ed4b362ed3d8

main: Fix exit code on grant/revoke command error
ed4b362ed3d8Unpublished

Unpublished Commit ยท Learn More

  • Repository Importing: This repository is still importing.
  • Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

main: Fix exit code on grant/revoke command error

Client command grant/revoke was returning success exit
code on some failures (site not configured, arbitrator,
no tickets given). Test case is running
booth grant -s $IP; echo $?, where IP is not configured in the config
file.

Patch fixes this behavior so error code is returned.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>

Details

Provenance
jfriesseAuthored on Sep 25 2023, 5:40 AM
Dejan Muhamedagic <dejanmm@fastmail.fm>Committed on Oct 20 2023, 8:37 AM
Parents
rBbb7a1668ec79: spec: Migrate to SPDX license
Branches
Unknown
Tags
Unknown

Event Timeline