aboutsummaryrefslogtreecommitdiff
path: root/weed/command/shell.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-04-04 19:27:51 -0700
committerChris Lu <chris.lu@gmail.com>2019-04-04 19:27:51 -0700
commitaf37b374cbe915f033058abad98d648ccce70d5c (patch)
treedeb4704677e0ac8c660bb81e6e991c38aa22f5f0 /weed/command/shell.go
parent766396d249652c1b29771fa1fce65250f9707d1d (diff)
downloadseaweedfs-af37b374cbe915f033058abad98d648ccce70d5c.tar.xz
seaweedfs-af37b374cbe915f033058abad98d648ccce70d5c.zip
weed shell: fs.cd change current directory
Diffstat (limited to 'weed/command/shell.go')
-rw-r--r--weed/command/shell.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/shell.go b/weed/command/shell.go
index 3216d5d48..95b62f0b5 100644
--- a/weed/command/shell.go
+++ b/weed/command/shell.go
@@ -33,7 +33,7 @@ func runShell(command *Command, args []string) bool {
shellOptions.FilerHost = "localhost"
shellOptions.FilerPort = 8888
- shellOptions.Directory = ""
+ shellOptions.Directory = "/"
shell.RunShell(shellOptions)