summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-03-23 10:42:49 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-03-23 10:42:49 +0100
commited6073f2c2c6600063f2e5062937b7a2a1162eb2 (patch)
treed43109bb55546fc4815824579c4879b51e4c3605 /src
parente9597dc652e8ca99141b0d66bfca3e24f233d430 (diff)
Python: Implement state callbacks using decorators
Diffstat (limited to 'src')
-rw-r--r--src/state.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/state.go b/src/state.go
index ba485b2..ea268ec 100644
--- a/src/state.go
+++ b/src/state.go
@@ -19,7 +19,6 @@ func Register(state *VPNState, name string, directory string, stateCallback func
stateCallback("START", "REGISTERED", "app registered")
// Try to load the previous configuration
-
if state.LoadConfig() != nil {
// This error can be safely ignored, as when the config does not load, the struct will not be filled
// Make sure to log this when we have implemented a good logging system