config: Allow non-standard config dir to be configured with SSL. (#3583)

This commit is contained in:
Harshavardhana
2017-01-15 16:53:01 -08:00
committed by GitHub
parent caecd75a2a
commit bf2b8879b7
2 changed files with 6 additions and 5 deletions
+1 -3
View File
@@ -129,9 +129,7 @@ func setGlobalsFromContext(c *cli.Context) {
if globalConfigDir == "" {
console.Fatalf("Unable to get config file. Config directory is empty.")
}
// Set global quiet flag.
globalQuiet = c.Bool("quiet") || c.GlobalBool("quiet")
// Is TLS configured?.
globalIsSSL = isSSL()
}