diff options
| author | Daniel Santos <danlsgiga@gmail.com> | 2021-01-26 21:45:52 -0700 |
|---|---|---|
| committer | Daniel Santos <danlsgiga@gmail.com> | 2021-01-26 21:45:52 -0700 |
| commit | 0c64d60fdb29d48e2ab2805a33904191c78349b5 (patch) | |
| tree | a0ab45705e342148cb7d7f3844f6995cc9adc0b3 | |
| parent | 0aaaa9b470155401be55e8cb5c26d8d9af0cd85d (diff) | |
| download | seaweedfs-0c64d60fdb29d48e2ab2805a33904191c78349b5.tar.xz seaweedfs-0c64d60fdb29d48e2ab2805a33904191c78349b5.zip | |
Fix log message with correct mode
| -rw-r--r-- | weed/command/mount_std.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index 8119edd01..5df005202 100644 --- a/weed/command/mount_std.go +++ b/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 |
