Commit 9ac92630 authored by szh's avatar szh

== to !=

parent bc010eaf
......@@ -41,7 +41,6 @@ func RaspberryChan() {
err := backup()
if err != nil {
tlog.Error("RaspberryChan backup fail ", "err", err)
}
updateJobMap(value.JobID,err)
tlog.Info("RaspberryChan backup success", "err", nil)
......@@ -83,7 +82,7 @@ func RaspberryChan() {
tlog.Info("RaspberryChan resetWallet success", "err", nil)
case "CLOSE":
err := closeNode()
if err == nil {
if err != nil {
tlog.Error("RaspberryChan resetWallet fail ", "err", err)
}
updateJobMap(value.JobID,err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment