Explorar el Código

Fixed folder properties bug using du

Toby Chui hace 1 año
padre
commit
def34b81ad
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      file_system.go

+ 1 - 1
file_system.go

@@ -2462,7 +2462,7 @@ func system_fs_getFileProperties(w http.ResponseWriter, r *http.Request) {
 
 			if fsh.IsLocalDrive() {
 				//Try using native syscall to grab directory size
-				nativeSize, err := filesystem.GetDirectorySizeNative(fsh.Path)
+				nativeSize, err := filesystem.GetDirectorySizeNative(rpath)
 				if err == nil {
 					usefallback = false
 					filesize = nativeSize