aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ipc/send.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ipc/send.go')
-rw-r--r--lib/ipc/send.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/ipc/send.go b/lib/ipc/send.go
index 522e944a..4b09268c 100644
--- a/lib/ipc/send.go
+++ b/lib/ipc/send.go
@@ -37,9 +37,7 @@ func ConnectAndExec(args []string) error {
}
// TODO: handle this in a more elegant manner
- if resp.Error == "" {
- fmt.Println("result: success")
- } else {
+ if resp.Error != "" {
fmt.Println("result: ", resp.Error)
}