HomeClusterLabs Projects

Refactor: libcrmcommon: Change return value in pcmk__read_series_sequence.

Description

Refactor: libcrmcommon: Change return value in pcmk__read_series_sequence.

If fscanf returns 0, there was no PID to be read out of the file.
Return ENODATA instead of pcmk_rc_unknown_format in that case.

Related T629

Details

Provenance
clumensAuthored on Mar 24 2023, 10:46 AM
Parents
rP159799d38aab: Refactor: libcrmcommon: Change return value in pcmk__read_pidfile.
Branches
Unknown
Tags
Unknown