mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-29 03:30:24 +08:00
优化代码
This commit is contained in:
@@ -662,7 +662,7 @@ func (this *FileListDB) shouldRecover() bool {
|
||||
var errString = ""
|
||||
var shouldRecover = false
|
||||
if result.Next() {
|
||||
err = result.Scan(&errString)
|
||||
_ = result.Scan(&errString)
|
||||
if strings.TrimSpace(errString) != "ok" {
|
||||
shouldRecover = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user