mirror of
https://github.com/minio/mc.git
synced 2026-01-04 02:44:40 +03:00
Add missing var error for windows, minor change pushing in
This commit is contained in:
@@ -26,6 +26,7 @@ import (
|
||||
)
|
||||
|
||||
func normalizePath(path string) (string, error) {
|
||||
var err error
|
||||
if filepath.VolumeName(path) == "" && filepath.HasPrefix(path, "\\") {
|
||||
path, err = syscall.FullPath(path)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user