run external commands client side
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
Jeromy committed
Dec 11, 2015 at 13:05 UTC
0dd3735a457add3389197118080b49ac0c55db85
1 file changed
+1
-1
cmd/ipfs/main.go
+1
-1
@@ -321,7 +321,7 @@ func callCommand(ctx context.Context, req cmds.Request, root *cmds.Command, cmd
321
}
322
}
323
324
- if client != nil {
324
+ if client != nil && !cmd.External {
325
log.Debug("Executing command via API")
326
res, err = client.Send(req)
327
if err != nil {