mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
gofmt -l -w .
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
//go:build android
|
||||||
// +build android
|
// +build android
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
//go:build !windows
|
||||||
// +build !windows
|
// +build !windows
|
||||||
|
|
||||||
package main
|
package main
|
||||||
@@ -6,7 +7,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"os/signal"
|
"os/signal"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
|
||||||
"server/log"
|
"server/log"
|
||||||
"server/settings"
|
"server/settings"
|
||||||
)
|
)
|
||||||
@@ -23,7 +24,7 @@ func Preconfig(dkill bool) {
|
|||||||
go func() {
|
go func() {
|
||||||
for s := range sigc {
|
for s := range sigc {
|
||||||
if dkill {
|
if dkill {
|
||||||
if (settings.BTsets.EnableDebug || s != syscall.SIGPIPE) {
|
if settings.BTsets.EnableDebug || s != syscall.SIGPIPE {
|
||||||
log.TLogln("Signal catched:", s)
|
log.TLogln("Signal catched:", s)
|
||||||
log.TLogln("To stop server, close it from web / api")
|
log.TLogln("To stop server, close it from web / api")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user