fix: typo

This commit is contained in:
cubercsl authored and mzz2017 committed 2022-01-31 20:02:15 +08:00
1 parent 2951b0c13b
commit c2ed82168d
1 file changed
+1 -1
+1 -1
View File
@@ -43,7 +43,7 @@ func isVersionSatisfied(version string, mustV2rayCore bool) error {
if err != nil {
return fmt.Errorf("failed to get the version of v2ray-core")
}
if variant != "V2RAY" {
if variant != where.V2ray {
if mustV2rayCore {
return fmt.Errorf("v2fly/v2ray-core only feature")
}