From 0dd3735a457add3389197118080b49ac0c55db85 Mon Sep 17 00:00:00 2001 From: Jeromy Date: Fri, 11 Dec 2015 13:05:47 -0800 Subject: [PATCH] run external commands client side License: MIT Signed-off-by: Jeromy --- cmd/ipfs/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ipfs/main.go b/cmd/ipfs/main.go index 97862e453..611dbd695 100644 --- a/cmd/ipfs/main.go +++ b/cmd/ipfs/main.go @@ -321,7 +321,7 @@ func callCommand(ctx context.Context, req cmds.Request, root *cmds.Command, cmd } } - if client != nil { + if client != nil && !cmd.External { log.Debug("Executing command via API") res, err = client.Send(req) if err != nil {