Skip to content
Snippets Groups Projects
Commit a98a9fbb authored by jkito's avatar jkito :skull: Committed by jkito
Browse files

log error from openvpn management when stopping connection

parent cf52f9b3
No related branches found
No related tags found
1 merge request!218Update to latest `obfsvpn`
......@@ -387,7 +387,9 @@ func (b *Bitmask) StopVPN() error {
func (b *Bitmask) tryStopFromManagement() {
if b.managementClient != nil {
b.managementClient.SendSignal("SIGTERM")
if err := b.managementClient.SendSignal("SIGTERM"); err != nil {
log.Err(err).Msg("Got error while stopping openvpn from management interface")
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment