mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-18 21:16:10 +05:00
gofmt -l -w .
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
//go:build android
|
||||
// +build android
|
||||
|
||||
package main
|
||||
|
||||
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user