This commit is contained in:
parent
4c295e7654
commit
696afebf6f
@ -133,6 +133,8 @@ changelog:
|
|||||||
exclude:
|
exclude:
|
||||||
- "^docs:"
|
- "^docs:"
|
||||||
- "^test:"
|
- "^test:"
|
||||||
|
- "^lint"
|
||||||
|
- "^happy linting"
|
||||||
|
|
||||||
release:
|
release:
|
||||||
github:
|
github:
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user