Skip to content

Commit eb0bbd0

Browse files
Detect WSL as host name
1 parent da77a79 commit eb0bbd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/host.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void ffPrintHost(FFinstance* instance)
8585
getenv("WSLENV") != NULL ||
8686
getenv("WSL_DISTRO") != NULL ||
8787
getenv("WSL_INTEROP") != NULL
88-
)) ffStrbufAppendS(&product_family, "Windows Subsystem for Linux");
88+
)) ffStrbufAppendS(&product_name, "Windows Subsystem for Linux");
8989
#else
9090
ffSettingsGetAndroidProperty("ro.product.brand", &product_name);
9191
if(product_name.length > 0){

0 commit comments

Comments
 (0)