summaryrefslogtreecommitdiff
path: root/internal/fsm/fsm.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-09-06 12:49:30 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-09-06 12:49:30 +0200
commitbc273d91bb6444e2fff3a1029a0270e4f856ad6a (patch)
tree7346f6b3468ca89f4ea96ca78fbaa945c974a008 /internal/fsm/fsm.go
parent18fc739aa2f7721324748929d721219401b8f46f (diff)
FSM: Set back state for loading server
Diffstat (limited to 'internal/fsm/fsm.go')
-rw-r--r--internal/fsm/fsm.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/fsm/fsm.go b/internal/fsm/fsm.go
index ec19899..74acc50 100644
--- a/internal/fsm/fsm.go
+++ b/internal/fsm/fsm.go
@@ -172,7 +172,9 @@ func (fsm *FSM) Init(
ASK_LOCATION,
"User chooses a Secure Internet server but no location is configured",
},
+ {NO_SERVER, "Go back or Error"},
},
+ BackState: NO_SERVER,
},
CHOSEN_SERVER: FSMState{
Transitions: []FSMTransition{