diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-04-01 22:26:55 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-04-01 22:26:55 +0800 |
commit | 655d681bebbb289537d69212805b62df471ea32d (patch) | |
tree | 6eda9b6d26051993d7bbeab1674aeb28a629c919 /cli-main.c | |
parent | eeac5d9ac16a93e7ff4e334fcab95d32eb136ff1 (diff) | |
download | dropbear-655d681bebbb289537d69212805b62df471ea32d.tar.gz |
Run the cleanup handler also when we close due to TCP connection being closed
Diffstat (limited to 'cli-main.c')
-rw-r--r-- | cli-main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -98,8 +98,7 @@ static void cli_dropbear_exit(int exitcode, const char* format, va_list param) { } /* Do the cleanup first, since then the terminal will be reset */ - cli_session_cleanup(); - common_session_cleanup(); + session_cleanup(); _dropbear_log(LOG_INFO, fmtbuf, param); |