HomeClusterLabs Projects

Refactor: libcrmservice: Improve error checks in systemd_service_name()

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
clumensCommitted on Mar 10 2025, 12:35 PM
Parents
rP1d6dcabd78bd: Merge pull request #3828 from nrwahl2/nrwahl2-sbindir21
Branches
Unknown
Tags
Unknown