aboutsummaryrefslogtreecommitdiff
path: root/commands/term.go
diff options
context:
space:
mode:
authorHeiko Carrasco <me@miterion.de>2019-09-29 13:22:36 +0200
committerDrew DeVault <sir@cmpwn.com>2019-09-29 12:36:34 -0400
commit70c16fc34609893eadabd9a31adb4396931552a5 (patch)
treebbc5ae9cec712f06811b5c5547b0953b7dac2d6e /commands/term.go
parent1bedb8fe06dd71b4ee044098b7f057b3bffd0efc (diff)
Print success to socket if no error was thrown
When Reto Brunners patch is applied (which works really well for me), the user gets to see the message returned by AercServer. Since this is nil if no errors were thrown it prints "result: <nil>" to the cmd. This patch fixes that by just returning success instead of the error message when err != nil.
Diffstat (limited to 'commands/term.go')
0 files changed, 0 insertions, 0 deletions