HomeClusterLabs Projects

Refactor: libcrmservice: Improve error checks in systemd_service_name()
00d30cfea853Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Refactor: libcrmservice: Improve error checks in systemd_service_name()

Use crm_strdup_printf() and pcmk__str_copy() to assert on error. Also
rename to systemd_unit_name(), since we handle other unit types.

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

Details

Provenance
nrwahl2Authored on Feb 27 2025, 5:12 AM
Parents
rP3d0ffefd9e1f: Merge pull request #3826 from nrwahl2/nrwahl2-sbindir
Branches
Unknown
Tags
Unknown

Event Timeline