diff options
| author | Jeroen Wijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-25 18:28:38 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-25 18:28:38 +0200 |
| commit | 5998a69ebbb174df4425fec878263d2a5d7cb096 (patch) | |
| tree | de6dbdab6dd66d80383a81e0fc5d07505b14c9cc /state.go | |
| parent | 9bb5a09ec2b4620652efc306e68442c05d434364 (diff) | |
Fix: Empty out the state by changing the value to which it points to
Diffstat (limited to 'state.go')
| -rw-r--r-- | state.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -77,7 +77,7 @@ func (state *VPNState) Deregister() error { state.Config.Save(&state) // Empty out the state - state = &VPNState{} + *state = VPNState{} return nil } |
