summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-01-17 18:01:21 +0000
committerThomas Adam <thomas@xteddy.org>2021-01-17 18:01:21 +0000
commit24c15eda793022f834fc28079f95ca71e2e2215c (patch)
tree48a01f6cbdc6680f52c7880aacc1c6b3d65b76f0 /client.c
parentd4866d5fe6214064882244ddb32f05480e9d8d91 (diff)
parent71c590a37f98d82c72279eddae74f9b8be146202 (diff)
Merge branch 'obsd-master' into master
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 8b17aa22..e4c0806b 100644
--- a/client.c
+++ b/client.c
@@ -126,6 +126,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);