HomeClusterLabs Projects

Low: libcrmservice: always set rc/status when executing systemd actions

Description

Low: libcrmservice: always set rc/status when executing systemd actions

Rename systemd_unit_exec() per current guidelines, make it return a
standard code, and comment it better.

More importantly, always make sure the action rc and status are set on error
returns, and that asynchronous actions are always finalized if not pending.

Details

Provenance
kgaillotAuthored on Sep 14 2021, 12:30 PM
Parents
rPde2aadc67518: Refactor: libcrmservice: clean up operation_finalize()
Branches
Unknown
Tags
Unknown

Event Timeline