summaryrefslogtreecommitdiff
path: root/cmd/cli/main.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-11-22 16:14:06 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-11-23 16:16:09 +0100
commit4a4b3f0a1c008e35a4492b7fd05176d1822c7232 (patch)
tree287ac69b6f89524282d4e2cbc85c6d8030285c88 /cmd/cli/main.go
parentea07a6d7b2df9b09d8e4c796b2416a60ba90144a (diff)
FSM: Check unhandled transitions
Diffstat (limited to 'cmd/cli/main.go')
-rw-r--r--cmd/cli/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/cli/main.go b/cmd/cli/main.go
index 97d0f39..96ca42f 100644
--- a/cmd/cli/main.go
+++ b/cmd/cli/main.go
@@ -125,8 +125,9 @@ func printConfig(url string, serverType ServerTypes) {
"org.eduvpn.app.linux",
"configs",
"en",
- func(old client.FSMStateID, new client.FSMStateID, data interface{}) {
+ func(old client.FSMStateID, new client.FSMStateID, data interface{}) bool {
stateCallback(state, old, new, data)
+ return true
},
true,
)