Merge pull request #129 from safing/fix/linter-windows
Fix linter warnings on windows
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user