summaryrefslogtreecommitdiffhomepage
path: root/svr-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'svr-session.c')
-rw-r--r--svr-session.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/svr-session.c b/svr-session.c
index 2a97f94..4310e2b 100644
--- a/svr-session.c
+++ b/svr-session.c
@@ -183,12 +183,6 @@ void svr_dropbear_exit(int exitcode, const char* format, va_list param) {
"exit before auth: %s", format);
}
- if (errno != 0) {
- /* XXX - is this valid? */
- snprintf(fmtbuf, sizeof(fmtbuf), "%s [%d %s]", fmtbuf,
- errno, strerror(errno));
- }
-
_dropbear_log(LOG_INFO, fmtbuf, param);
/* must be after we've done with username etc */