diff options
Diffstat (limited to 'lib/ipc')
-rw-r--r-- | lib/ipc/send.go | 4 |
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) } |