chore: remove os.Exit - unnecessary call

This commit is contained in:
braginini 2021-06-22 12:11:51 +02:00
parent 52db303104
commit bbfbf797d5

View File

@ -54,9 +54,8 @@ var (
//signalClient.WaitConnected() //signalClient.WaitConnected()
SetupCloseHandler() SetupCloseHandler()
code := <-stopUP <-stopUP
log.Println("Receive signal to stop running") log.Println("Receive signal to stop running")
os.Exit(code)
}, },
} }
) )