nvmutil: fix rval in close_files

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-14 07:26:45 +00:00
parent 0867507fc8
commit caebecf6c6
+4 -1
View File
@@ -2024,7 +2024,10 @@ close_files(void)
if (saved_errno)
errno = saved_errno;
return -(close_err_gbe | close_err_rand);
if (close_err_gbe || close_err_rand)
return -1;
return 0;
}
static void