Merge pull request #30628 from YHNdnzj/format-table-improvement

Some improvements for format-table
This commit is contained in:
Yu Watanabe
2023-12-25 20:01:32 +09:00
committed by GitHub
17 changed files with 63 additions and 47 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ int list_enrolled(struct crypt_device *cd) {
return table_log_add_error(r);
}
if (table_get_rows(t) <= 1) {
if (table_isempty(t)) {
log_info("No slots found.");
return 0;
}