check_disk: implement ok summary

This commit is contained in:
Lorenz Kästle 2026-06-04 22:37:23 +02:00
parent c09b1346ca
commit 151266ef4e

View file

@ -162,6 +162,9 @@ int main(int argc, char **argv) {
}
mp_check overall = mp_check_init();
mp_set_ok_summary(&overall, "Filesystem checks succeeded");
if (config.path_select_list.length == 0) {
mp_subcheck none_sc = mp_subcheck_init();
xasprintf(&none_sc.output, "No filesystems were found for the provided parameters");