log shutdown requests

This commit is contained in:
nikk gitanes
2021-08-15 12:22:22 +03:00
parent 1ea5e9654c
commit 10b2c8e3c5

View File

@@ -209,6 +209,7 @@ func SetDefSettings() {
func Shutdown() {
bts.Disconnect()
sets.CloseDB()
log.TLogln("Received shutdown. Quit")
os.Exit(0)
}