mirror of
https://github.com/cryptonote-social/csminer.git
synced 2024-09-11 05:35:23 +03:00
remove unintended os.Exit on connection failure
This commit is contained in:
parent
cda4723329
commit
021568e9ad
1
miner.go
1
miner.go
@ -255,7 +255,6 @@ func connectClient() chan *client.MultiClientJob {
|
||||
err := cl.DispatchJobs()
|
||||
if err != nil {
|
||||
crylog.Error("Job dispatcher exitted with error:", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
clMutex.Lock()
|
||||
if clientAlive {
|
||||
|
Loading…
Reference in New Issue
Block a user