From 57d151e9b26b962789642f3ee545cf183da185a1 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Mon, 6 Aug 2018 08:15:05 +0100 Subject: [PATCH] fix: wrong signal License: MIT Signed-off-by: Henrique Dias --- lib/http/websockets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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...) }