namecache: wtf is just not a good unexpected error response

License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
This commit is contained in:
vyzo 2017-12-12 11:49:57 +02:00 committed by Łukasz Magiera
parent 8958b3d0a1
commit dfc90e84e6

View File

@ -175,7 +175,7 @@ func marshalFollowResult(res cmds.Response) (io.Reader, error) {
if output.OK {
state = "ok"
} else {
state = "wtf"
state = "error"
}
return strings.NewReader(state + "\n"), nil