happy linting
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Marvin Steadfast 2021-04-14 10:57:40 +02:00
parent 4c295e7654
commit 696afebf6f
2 changed files with 3 additions and 1 deletions

View File

@ -133,6 +133,8 @@ changelog:
exclude: exclude:
- "^docs:" - "^docs:"
- "^test:" - "^test:"
- "^lint"
- "^happy linting"
release: release:
github: github:

View File

@ -123,7 +123,7 @@ func Down(cfg *Config, iface string, uspace bool, logger logrus.FieldLogger) err
// By removing it, it will close itself. // By removing it, it will close itself.
if uspace { if uspace {
if err := os.Remove(fmt.Sprintf("/var/run/wireguard/%s.sock", iface)); err != nil { if err := os.Remove(fmt.Sprintf("/var/run/wireguard/%s.sock", iface)); err != nil {
return err return fmt.Errorf("could not remove wireguard-go sock file: %w", err)
} }
} }