summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorJeroen Wijenbergh <jeroenwijenbergh@protonmail.com>2022-04-29 19:49:16 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-04-29 19:49:16 +0200
commita2a8efdcaad3d9b1852b1367a7cd7e8c5860cecf (patch)
tree1fb54b24c8bdb75ce0fc35f85d180879dcfb625b /cmd
parent0e1f9826f2aea1a059529f9c3d1c921d7d4ac3d4 (diff)
Fix: Return on config error when storing cert
Diffstat (limited to 'cmd')
-rw-r--r--cmd/cli/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/cli/main.go b/cmd/cli/main.go
index 17348c9..5bdbd8d 100644
--- a/cmd/cli/main.go
+++ b/cmd/cli/main.go
@@ -133,6 +133,7 @@ func storeSecureInternetConfig(state *eduvpn.VPNState, url string, directory str
if configErr != nil {
fmt.Printf("Failed obtaining config for url %s with error %v\n", url, configErr)
+ return
}
cleanURL := filepath.Base(url)