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