diff options
Diffstat (limited to 'weed/shell/command_fs_ls.go')
| -rw-r--r-- | weed/shell/command_fs_ls.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_fs_ls.go b/weed/shell/command_fs_ls.go index 39f356916..b94f24694 100644 --- a/weed/shell/command_fs_ls.go +++ b/weed/shell/command_fs_ls.go @@ -54,7 +54,7 @@ func (c *commandFsLs) Do(args []string, commandEnv *commandEnv, writer io.Writer if path == "/" { dir, name = "/", "" } else { - dir, name = path[0 : len(path)-1], "" + dir, name = path[0:len(path)-1], "" } } |
