diff --git a/lib/http/websockets.go b/lib/http/websockets.go index c759b193..b4d4da48 100644 --- a/lib/http/websockets.go +++ b/lib/http/websockets.go @@ -104,7 +104,7 @@ func command(c *fb.Context, w http.ResponseWriter, r *http.Request) (int, error) path = filepath.Clean(path) buff := new(bytes.Buffer) - if len(commandShell) == 0 { + if len(commandShell) != 0 { command = append(commandShell, command...) }