LM (Linux): fix LightDM version detection

This commit is contained in:
李通洲
2023-07-13 11:19:23 +08:00
parent ad627e0e0a
commit 67d3910fd3
+1
View File
@@ -122,6 +122,7 @@ static const char* getLightdmVersion(FFstrbuf* version)
// lightdm 1.30.0
ffStrbufSubstrAfterFirstC(version, ' ');
ffStrbufTrimRight(version, '\n');
return NULL;
}