aboutsummaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.c b/client.c
index dcbc0d18..a3e300cd 100644
--- a/client.c
+++ b/client.c
@@ -127,6 +127,8 @@ retry:
log_debug("connect failed: %s", strerror(errno));
if (errno != ECONNREFUSED && errno != ENOENT)
goto failed;
+ if (flags & CLIENT_NOSTARTSERVER)
+ goto failed;
if (~flags & CLIENT_STARTSERVER)
goto failed;
close(fd);