summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorAlexey Yerin <yyp@disroot.org>2021-04-26 21:03:50 +0300
committerHubert Hirtz <hubert@hirtz.pm>2021-04-26 22:41:06 +0200
commit1dec0207e262e7377c37cb2ccf2f9c68d8bbcd6a (patch)
tree40a312cc686dfdcf17c7b30312e33d6c343995d7 /cmd
parentsenpai.5: document no-tls and debug config options (diff)
cmd/test: load useTLS from the config
Diffstat (limited to 'cmd')
-rw-r--r--cmd/test/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/test/main.go b/cmd/test/main.go
index b900d40..05257f8 100644
--- a/cmd/test/main.go
+++ b/cmd/test/main.go
@@ -123,6 +123,6 @@ func parseFlags() {
if cfg.Password != nil {
password = *cfg.Password
}
- useTLS = true
+ useTLS = !cfg.NoTLS
}
}