aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ssh/ssh.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-02-14 23:14:55 -0500
committerUnknwon <u@gogs.io>2016-02-14 23:14:55 -0500
commit58e004f7da58eaa8c461e34cc2fbbb9727f6fa33 (patch)
treed2b16690a4d19917530fe522271f3121683eb074 /modules/ssh/ssh.go
parentfd92d91da3212f609ed6266fed7ac4b9f238f771 (diff)
downloadgitea-58e004f7da58eaa8c461e34cc2fbbb9727f6fa33.tar.gz
gitea-58e004f7da58eaa8c461e34cc2fbbb9727f6fa33.zip
Remove cache avatar support and add its tests
Diffstat (limited to 'modules/ssh/ssh.go')
-rw-r--r--modules/ssh/ssh.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/ssh/ssh.go b/modules/ssh/ssh.go
index 5328d66cec..18313d1ef8 100644
--- a/modules/ssh/ssh.go
+++ b/modules/ssh/ssh.go
@@ -145,8 +145,6 @@ func listen(config *ssh.ServerConfig, port int) {
go handleServerConn(sConn.Permissions.Extensions["key-id"], chans)
}()
}
-
- panic("SSH: Unexpected exit of listen loop")
}
// Listen starts a SSH server listens on given port.