mirror of
				https://bitbucket.org/s_l_teichmann/mtsatellite
				synced 2025-10-31 16:15:27 +01:00 
			
		
		
		
	Fix issues found by staticcheck
This commit is contained in:
		| @@ -13,6 +13,7 @@ import ( | ||||
| 	"os/signal" | ||||
| 	"runtime" | ||||
| 	"strings" | ||||
| 	"syscall" | ||||
| 	"time" | ||||
|  | ||||
| 	"bitbucket.org/s_l_teichmann/mtsatellite/common" | ||||
| @@ -135,7 +136,7 @@ func main() { | ||||
| 	connChan := make(chan net.Conn) | ||||
| 	defer close(connChan) | ||||
| 	sigChan := make(chan os.Signal, 1) | ||||
| 	signal.Notify(sigChan, os.Interrupt, os.Kill) | ||||
| 	signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM) | ||||
|  | ||||
| 	go func() { | ||||
| 		for { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user