Only wait for a keypress if the user is told to press a key.
This commit is contained in:
parent
ccc75404f4
commit
9ee1bae150
|
@ -42,8 +42,10 @@
|
|||
void
|
||||
error_exit(void)
|
||||
{
|
||||
#if LOG_CONF_ENABLED
|
||||
log_message("Press any key to continue ...", "");
|
||||
ctk_arch_getkey();
|
||||
#endif /* LOG_CONF_ENABLED */
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
|
|
@ -42,8 +42,10 @@
|
|||
void
|
||||
error_exit(void)
|
||||
{
|
||||
#if LOG_CONF_ENABLED
|
||||
log_message("Press any key to continue ...", "");
|
||||
ctk_arch_getkey();
|
||||
#endif /* LOG_CONF_ENABLED */
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Reference in a new issue