mirror of
https://github.com/Simple-Tracker/qBittorrent-ClientBlocker.git
synced 2025-01-09 04:07:55 +08:00
Return status 1 if auth fail
This commit is contained in:
parent
4362b0ec15
commit
8ccf51e3e7
@ -1,6 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
"net"
|
||||
"time"
|
||||
"strings"
|
||||
@ -487,7 +488,7 @@ func RunConsole() {
|
||||
}
|
||||
if !LoadInitConfig(true) {
|
||||
Log("RunConsole", GetLangText("RunConsole_AuthFailed"), true)
|
||||
return
|
||||
os.Exit(1)
|
||||
}
|
||||
Log("RunConsole", GetLangText("RunConsole_ProgramHasStarted"), true)
|
||||
loopTicker := time.NewTicker(time.Duration(config.Interval) * time.Second)
|
||||
|
Loading…
Reference in New Issue
Block a user