* Clean up.
*/
sk_cleanup();
-
- if (cfg.protocol == PROT_SSH)
- random_save_seed();
-
+ random_save_seed();
exit(code);
}
char line[32];
- if (cfg.logxfovr != LGXF_ASK) {
- return ((cfg.logxfovr == LGXF_OVR) ? 2 : 1);
- }
if (console_batch_mode) {
fprintf(stderr, msgtemplate_batch, FILENAME_MAX, filename);
fflush(stderr);
void logevent(void *frontend, char *string)
{
+ log_eventlog(logctx, string);
}
int console_get_line(const char *prompt, char *str,