diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-08-16 13:25:15 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2023-09-25 09:43:37 +0200 |
| commit | f583a28694be3ec3b99318673c6cdb6e42ee1372 (patch) | |
| tree | a80e65573f3db46212f1b31a865ece499e574d66 /cmd/cli/main.go | |
| parent | b0e1fdb2ee09e10c2f2f8a78e14d39282595fab5 (diff) | |
Client + Exports + Python: Add a startup boolean to getconfig
To be used for autoconnect on startup. If autoconnect on startup set
to true
This ignores any callbacks that require user input (profile,
authorization & location callbacks)
Diffstat (limited to 'cmd/cli/main.go')
| -rw-r--r-- | cmd/cli/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cli/main.go b/cmd/cli/main.go index ca50799..826d523 100644 --- a/cmd/cli/main.go +++ b/cmd/cli/main.go @@ -147,7 +147,7 @@ func getConfig(state *client.Client, url string, srvType srvtypes.Type) (*srvtyp if err != nil { return nil, err } - return state.GetConfig(&ck, url, srvType, false) + return state.GetConfig(&ck, url, srvType, false, false) } // Get a config for a single server, Institute Access or Secure Internet. |
