From ed6073f2c2c6600063f2e5062937b7a2a1162eb2 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Wed, 23 Mar 2022 10:42:49 +0100 Subject: Python: Implement state callbacks using decorators --- src/state.go | 1 - 1 file changed, 1 deletion(-) (limited to 'src/state.go') 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 -- cgit v1.2.3