File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ func getArgs() *Args {
3939}
4040
4141func printUsage (err error ) {
42- _ , _ = fmt .Fprintf (os .Stderr , "%s\n " , err )
43- _ , _ = fmt .Fprintf (os .Stderr , "Usage: %s <arguments>\n " , os .Args [0 ])
42+ _ , _ = fmt .Fprintf (os .Stderr , "%s\n " , err ) // nolint: gas
43+ _ , _ = fmt .Fprintf (os .Stderr , "Usage: %s <arguments>\n " , os .Args [0 ]) // nolint: gas
4444 flag .PrintDefaults ()
4545}
Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ func main() {
221221 if cb .Restart {
222222 log .Printf ("Shutdown completed. Restarting..." )
223223
224- if err := syscall .Exec (
224+ if err := syscall .Exec ( // nolint: gas
225225 binPath ,
226226 []string {
227227 binPath ,
@@ -279,7 +279,7 @@ func newCatbox(configFile string) (*Catbox, error) {
279279 SessionTicketsDisabled : true ,
280280 // Unfortunately it is usual to use self signed certificates with IRC. We
281281 // need this to connect to such servers.
282- InsecureSkipVerify : true , // nolint: gosec
282+ InsecureSkipVerify : true , // nolint: gosec,gas
283283
284284 // It would be nice to be able to be more restrictive on TLS version and
285285 // ciphers, but in practice many clients do not support the strictest.
You can’t perform that action at this time.
0 commit comments