Host (Linux): reports marketing product name on Asahi Linux

This commit is contained in:
Carter Li
2026-03-12 10:01:40 +08:00
parent d2de3a01bb
commit 07f6f93415
4 changed files with 61 additions and 35 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ bool ffPrintHost(FFHostOptions* options)
goto exit;
}
if(host.family.length == 0 && host.name.length == 0)
if(host.name.length == 0 && host.family.length == 0)
{
ffPrintError(FF_HOST_MODULE_NAME, 0, &options->moduleArgs, FF_PRINT_TYPE_DEFAULT, "neither product_family nor product_name is set by O.E.M.");
goto exit;