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
|
||||
}
|
||||
err = fmt.Errorf("Linux tunFile is null %s", tunPath)
|
||||
err = fmt.Errorf("[error] Linux tunFile is null %s", tunPath)
|
||||
log.Println(err)
|
||||
return
|
||||
// panic(err)
|
||||
}
|
||||
|
||||
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)
|
||||
return
|
||||
// panic(err)
|
||||
|
|
Loading…
Reference in New Issue