commands are queued, that's in cfg_done not after start_cfg finishes.
-/* $OpenBSD: cfg.c,v 1.56 2017/04/21 13:15:43 nicm Exp $ */
+/* $OpenBSD: cfg.c,v 1.57 2017/04/21 14:04:54 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
if (!RB_EMPTY(&sessions))
cfg_show_causes(RB_MIN(sessions, &sessions));
+ status_prompt_load_history();
+
return (CMD_RETURN_NORMAL);
}
-/* $OpenBSD: server.c,v 1.167 2017/04/20 09:20:22 nicm Exp $ */
+/* $OpenBSD: server.c,v 1.168 2017/04/21 14:04:54 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
start_cfg();
- status_prompt_load_history();
-
server_add_accept(0);
proc_loop(server_proc, server_loop);