fix seaweed client command

This commit is contained in:
Chris Lu 2020-11-08 23:59:02 -08:00
parent 831adc091f
commit 98017e9cb0
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ func (sa *SeaweedAdmin) ProcessCommand(cmd string) error {
}
for _, c := range shell.Commands {
if c.Name() == cmd || c.Name() == "fs."+cmd {
if c.Name() == cmds[0] || c.Name() == "fs."+cmds[0] {
return c.Do(args, sa.commandEnv, sa.Output)
}
}