diff options
Diffstat (limited to 'weed/shell/shell_liner.go')
| -rw-r--r-- | weed/shell/shell_liner.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/shell/shell_liner.go b/weed/shell/shell_liner.go index 21b549ad0..f8f4002fa 100644 --- a/weed/shell/shell_liner.go +++ b/weed/shell/shell_liner.go @@ -7,6 +7,7 @@ import ( "github.com/seaweedfs/seaweedfs/weed/pb" "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb" "github.com/seaweedfs/seaweedfs/weed/pb/master_pb" + "github.com/seaweedfs/seaweedfs/weed/util" "github.com/seaweedfs/seaweedfs/weed/util/grace" "golang.org/x/exp/slices" "io" @@ -100,7 +101,7 @@ https://cloud.seaweedfs.com/ui/%s return } - for _, c := range strings.Split(cmd, ";") { + for _, c := range util.StringSplit(cmd, ";") { if processEachCmd(reg, c, commandEnv) { return } |
