HomeClusterLabs Projects

Refactor: tools: Use g_set_error more in crm_rule.

Description

Refactor: tools: Use g_set_error more in crm_rule.

The last change in this patch (removal of the "Error checking rule:"
message) also simplifies the tool's output. Instead of two lines of
error output, you'll only get the one error message, formatted like all
the other tools that are using g_set_error.

This eliminates one of the last two uses of the CMD_ERR macro.

Details

Provenance
clumensAuthored on Mar 9 2022, 3:52 PM
Parents
rP1a65678d7652: Merge pull request #2661 from clumens/more-coverage
Branches
Unknown
Tags
Unknown