Browse Source

Fix log message with correct mode

pull/1764/head
Daniel Santos 4 years ago
parent
commit
0c64d60fdb
  1. 2
      weed/command/mount_std.go

2
weed/command/mount_std.go

@ -102,7 +102,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
if err == nil {
mountMode = os.ModeDir | os.FileMode(0777)&^umask
uid, gid = util.GetFileUidGid(fileInfo)
fmt.Printf("mount point owner uid=%d gid=%d mode=%s\n", uid, gid, fileInfo.Mode())
fmt.Printf("mount point owner uid=%d gid=%d mode=%s\n", uid, gid, mountMode)
} else {
fmt.Printf("can not stat %s\n", dir)
return false

Loading…
Cancel
Save