Convert more programs to the new option and verb parsers (#41458)
This commit is contained in:
@@ -6586,11 +6586,7 @@ int tpm2_list_devices(bool legend, bool quiet) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
r = table_print(t, stdout);
|
||||
if (r < 0)
|
||||
return log_error_errno(r, "Failed to show device table: %m");
|
||||
|
||||
return 0;
|
||||
return table_print_or_warn(t);
|
||||
#else
|
||||
return log_error_errno(SYNTHETIC_ERRNO(EOPNOTSUPP),
|
||||
"TPM2 not supported on this build.");
|
||||
|
||||
Reference in New Issue
Block a user