Browse Source

fix pwd printout

pull/1255/head
Chris Lu 5 years ago
parent
commit
a875f67a08
  1. 6
      weed/shell/command_fs_pwd.go

6
weed/shell/command_fs_pwd.go

@ -22,11 +22,7 @@ func (c *commandFsPwd) Help() string {
func (c *commandFsPwd) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {
fmt.Fprintf(writer, "http://%s:%d%s\n",
commandEnv.option.FilerHost,
commandEnv.option.FilerPort,
commandEnv.option.Directory,
)
fmt.Fprintf(writer, "%s\n", commandEnv.option.Directory)
return nil
}
Loading…
Cancel
Save