diff options
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |