diff --git a/core/commands/config.go b/core/commands/config.go index f3b17e490..067cbd9de 100644 --- a/core/commands/config.go +++ b/core/commands/config.go @@ -120,7 +120,7 @@ Set the value of the 'Datastore.Path' key: return err } - return res.Emit(output) + return cmds.EmitOnce(res, output) }, Encoders: cmds.EncoderMap{ cmds.Text: cmds.MakeTypedEncoder(func(req *cmds.Request, w io.Writer, out *ConfigField) error {