mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-06 05:30:05 +00:00
Merge pull request #132 from acgpiano/master
解决排除网卡不生效的bug Co-authored-by: acgpiano <15900800+acgpiano@users.noreply.github.com>
This commit is contained in:
@@ -139,7 +139,7 @@ func getDiskTotalAndUsed() (total uint64, used uint64) {
|
|||||||
|
|
||||||
func isListContainsStr(list []string, str string) bool {
|
func isListContainsStr(list []string, str string) bool {
|
||||||
for i := 0; i < len(list); i++ {
|
for i := 0; i < len(list); i++ {
|
||||||
if strings.Contains(list[i], str) {
|
if strings.Contains(str, list[i]) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user