diff --git a/cmd/admin-handlers.go b/cmd/admin-handlers.go index 81983835e..7ec55ca8e 100644 --- a/cmd/admin-handlers.go +++ b/cmd/admin-handlers.go @@ -141,9 +141,9 @@ func (a adminAPIHandlers) ServerUpdateHandler(w http.ResponseWriter, r *http.Req } if runtime.GOOS == "windows" { - u.Path = path.Dir(u.Path) + "minio.exe" + u.Path = path.Dir(u.Path) + SlashSeparator + "minio.exe" } else { - u.Path = path.Dir(u.Path) + "minio" + u.Path = path.Dir(u.Path) + SlashSeparator + "minio" } updateURL = u.String()