Fix a bug in previous patch.

master
Harshavardhana 8 years ago
parent bf2b8879b7
commit f8a3b1e164
  1. 6
      cmd/main.go

@ -165,12 +165,12 @@ func checkUpdate() {
// Generic Minio initialization to create/load config, prepare loggers, etc.. // Generic Minio initialization to create/load config, prepare loggers, etc..
func minioInit(ctx *cli.Context) { func minioInit(ctx *cli.Context) {
// Sets new config directory.
setGlobalConfigPath(globalConfigDir)
// Set global variables after parsing passed arguments // Set global variables after parsing passed arguments
setGlobalsFromContext(ctx) setGlobalsFromContext(ctx)
// Sets new config directory.
setGlobalConfigPath(globalConfigDir)
// Is TLS configured?. // Is TLS configured?.
globalIsSSL = isSSL() globalIsSSL = isSSL()

Loading…
Cancel
Save