gofmt -l -w .

This commit is contained in:
nikk gitanes
2021-09-09 12:40:23 +03:00
parent 74d8f5a53e
commit 2fe9618fc3
2 changed files with 4 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
//go:build android
// +build android
package main

View File

@@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package main
@@ -6,7 +7,7 @@ import (
"os"
"os/signal"
"syscall"
"server/log"
"server/settings"
)
@@ -23,7 +24,7 @@ func Preconfig(dkill bool) {
go func() {
for s := range sigc {
if dkill {
if (settings.BTsets.EnableDebug || s != syscall.SIGPIPE) {
if settings.BTsets.EnableDebug || s != syscall.SIGPIPE {
log.TLogln("Signal catched:", s)
log.TLogln("To stop server, close it from web / api")
}