diff options
author | Matt Johnston <matt@ucc.asn.au> | 2018-02-14 23:06:01 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2018-02-14 23:06:01 +0800 |
commit | a1aa16152737421a236653242e76970d9d8c4f90 (patch) | |
tree | 3ab89af02120c78d6b68b27ee5ed9d2f75ccb17f /cli-main.c | |
parent | 9a7972dcb8fffda8084c7ade32af4436aad39e81 (diff) |
make signal flags volatile, simplify handling
Diffstat (limited to 'cli-main.c')
-rw-r--r-- | cli-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -108,7 +108,7 @@ static void cli_dropbear_exit(int exitcode, const char* format, va_list param) { vsnprintf(exitmsg, sizeof(exitmsg), format, param); /* Add the prefix depending on session/auth state */ - if (!sessinitdone) { + if (!ses.init_done) { snprintf(fullmsg, sizeof(fullmsg), "Exited: %s", exitmsg); } else { snprintf(fullmsg, sizeof(fullmsg), |