fundamental: move strv_isempty() into src/fundamental/

This commit is contained in:
Lennart Poettering
2026-03-27 09:54:28 +01:00
parent be176c0c91
commit 6e2a452118
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -2547,7 +2547,7 @@ static EFI_STATUS initrd_prepare(
assert(ret_initrd_pages);
assert(ret_initrd_size);
if (entry->type != LOADER_LINUX || !entry->initrd) {
if (entry->type != LOADER_LINUX || strv_isempty(entry->initrd)) {
*ret_options = NULL;
*ret_initrd_pages = (Pages) {};
*ret_initrd_size = 0;