summaryrefslogtreecommitdiff
path: root/src/analyze/analyze-exit-status.c
Commit message (Collapse)AuthorAgeFilesLines
* analyze: allow verbs to return positive failureZbigniew Jędrzejewski-Szmek2022-05-191-1/+5
| | | | | | | | | No functional change is intended. The verbs where it wasn't immediately clear if the success exit status is 0 or >= 0 are changed to explicitly return 0. (I think it's better to be explicit than to rely on some call stack always returning 0 on success.) Some other functions are cleaned up to be more idiomatic.
* analyze: systematically name verb entry point functions verb_xyz()Lennart Poettering2022-02-211-1/+1
| | | | | | Some of the functions so far were named do_xyz(), others dump_xyz() and even others test_xyz(). let's instead name them exactly like the verb exposed in the command line, just prefixed with verb_
* analyze: split out "exit-status" verbLennart Poettering2022-02-211-0/+52