go fmt.
This commit is contained in:
parent
7df65008be
commit
95563691cd
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@ func mainInterruptHandler() {
|
||||||
case <-interruptChannel:
|
case <-interruptChannel:
|
||||||
btcdLog.Infof("Received SIGINT (Ctrl+C). Shutting down...")
|
btcdLog.Infof("Received SIGINT (Ctrl+C). Shutting down...")
|
||||||
// run handlers in LIFO order.
|
// run handlers in LIFO order.
|
||||||
for i := range interruptCallbacks {
|
for i := range interruptCallbacks {
|
||||||
idx := len(interruptCallbacks) -1 -i
|
idx := len(interruptCallbacks) - 1 - i
|
||||||
callback := interruptCallbacks[idx]
|
callback := interruptCallbacks[idx]
|
||||||
callback()
|
callback()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue