HomeClusterLabs Projects

Refactor: libstonithd: Split apart error conditions when validating.

Description

Refactor: libstonithd: Split apart error conditions when validating.

The "not found" and "can't validate" cases were previously jumbled
together. Now, return ENOENT if the agent is not found and EOPNOTSUPP
if it can't validate. The only caller appears to be handling both cases
correctly already, so no changes are needed there.

Details

Provenance
clumensAuthored on Jul 1 2022, 10:38 AM
Parents
rPd00a6abde7e6: Fix: libstonithd: Add the "Agent not found..." message to formatted output.
Branches
Unknown
Tags
Unknown