diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-20 17:08:55 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-20 17:08:55 +0200 |
| commit | 0e46f074570b066194a0b1b958b0a90c3eec6ca6 (patch) | |
| tree | d6809a4f9efa126affe458b78560237f83e37de0 /src/state.go | |
| parent | 1a311e1820852cb9ea6ce646c0880e6b6915c657 (diff) | |
State: Always allow Deregister
Diffstat (limited to 'src/state.go')
| -rw-r--r-- | src/state.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/state.go b/src/state.go index 76cd635..d8c0075 100644 --- a/src/state.go +++ b/src/state.go @@ -56,9 +56,6 @@ func (state *VPNState) Register(name string, directory string, stateCallback fun } func (state *VPNState) Deregister() error { - if state.InState(DEREGISTERED) { - return errors.New("app already deregistered") - } // Close the log file state.CloseLog() |
