mirror of https://github.com/bjdgyc/anylink.git
修改报错信息
This commit is contained in:
parent
638a99275e
commit
42142d95b7
|
@ -58,14 +58,14 @@ func CheckModOrLoad(mod string) {
|
||||||
// 文件存在
|
// 文件存在
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
err = fmt.Errorf("Linux tunFile is null %s", tunPath)
|
err = fmt.Errorf("[error] Linux tunFile is null %s", tunPath)
|
||||||
log.Println(err)
|
log.Println(err)
|
||||||
return
|
return
|
||||||
// panic(err)
|
// panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if InContainer {
|
if InContainer {
|
||||||
err = fmt.Errorf("Linux module %s is not loaded, please run `modprobe %s`", mod, mod)
|
err = fmt.Errorf("[error] Linux module %s is not loaded, please run `modprobe %s`", mod, mod)
|
||||||
log.Println(err)
|
log.Println(err)
|
||||||
return
|
return
|
||||||
// panic(err)
|
// panic(err)
|
||||||
|
|
Loading…
Reference in New Issue