summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh.c b/ssh.c
index 703cb8bd3..1f19229b7 100644
--- a/ssh.c
+++ b/ssh.c
@@ -1095,7 +1095,7 @@ ssh_control_listener(void)
1095 old_umask = umask(0177); 1095 old_umask = umask(0177);
1096 if (bind(control_fd, (struct sockaddr*)&addr, addr_len) == -1) { 1096 if (bind(control_fd, (struct sockaddr*)&addr, addr_len) == -1) {
1097 control_fd = -1; 1097 control_fd = -1;
1098 if (errno == EINVAL) 1098 if (errno == EINVAL || errno == EADDRINUSE)
1099 fatal("ControlSocket %s already exists", 1099 fatal("ControlSocket %s already exists",
1100 options.control_path); 1100 options.control_path);
1101 else 1101 else