summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/virtual.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virtual.c b/tools/virtual.c
index c3d7024c..ab4f12b6 100644
--- a/tools/virtual.c
+++ b/tools/virtual.c
@@ -1876,7 +1876,7 @@ static int bumblebee_open(struct context *ctx)
DBG(("%s query result '%s'\n", __func__, buf));
if (strncmp(buf, "Value: ", 7))
- return -ECONNREFUSED;
+ goto err;
len = 7;
while (buf[len] != '\n' && buf[len] != '\0')