mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +00:00
Merge pull request #129 from safing/fix/linter-windows
Fix linter warnings on windows
This commit is contained in:
commit
27c00f71bb
4 changed files with 5 additions and 3 deletions
|
@ -19,8 +19,6 @@ import (
|
|||
"golang.org/x/sys/windows/svc/mgr"
|
||||
)
|
||||
|
||||
const exeSuffix = ".exe"
|
||||
|
||||
func init() {
|
||||
rootCmd.AddCommand(installCmd)
|
||||
installCmd.AddCommand(installService)
|
||||
|
|
|
@ -88,7 +88,7 @@ service:
|
|||
return ssec, errno
|
||||
}
|
||||
|
||||
func runService(cmd *cobra.Command, opts *Options, cmdArgs []string) error {
|
||||
func runService(_ *cobra.Command, opts *Options, cmdArgs []string) error {
|
||||
// check if we are running interactively
|
||||
isDebug, err := svc.IsAnInteractiveSession()
|
||||
if err != nil {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// +build linux
|
||||
|
||||
// Package nfqexp contains a nfqueue library experiment.
|
||||
package nfqexp
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// +build linux
|
||||
|
||||
package nfqexp
|
||||
|
||||
import (
|
||||
|
|
Loading…
Add table
Reference in a new issue