fll_program_print_copyright(&main->program.message, fll_program_copyright_year_author_s);
}
+ if (main->program.signal_received) {
+ fll_program_print_signal_received(&main->program.warning, main->program.signal_received);
+ }
+
return;
}
if (main->thread.signal) {
main->program.signal_received = main->thread.signal;
}
-
- if (main->program.message.verbosity > f_console_verbosity_error_e) {
- fll_print_dynamic_raw(f_string_eol_s, main->program.message.to);
- }
-
- fll_program_print_signal_received(&main->program.warning, main->program.signal_received);
}
else {
main->setting.state.status = F_status_is_error(status) ? F_status_set_error(F_failure) : F_okay;
}
+
+ if (main->program.signal_received) {
+ fll_program_print_signal_received(&main->program.warning, main->program.signal_received);
+ }
}
#endif // _di_controller_process_
if (main->program.signal_received) return F_true;
if (!((++main->program.signal_check) % controller_signal_check_d)) {
- if (F_status_set_fine(fll_program_standard_signal_received(&main->program)) == F_interupt) {
- fll_program_print_signal_received(&main->program.warning, main->program.signal_received);
-
+ if (F_status_set_fine(fll_program_standard_signal_received(&main->program)) == F_interrupt) {
main->setting.state.status = F_status_set_error(F_interrupt);
return F_true;
#if !defined(_di_controller_signal_check_) && !defined(_di_thread_support_)
f_status_t controller_signal_check(controller_t * const main) {
- if (!main || main->program.signal.id == -1) return F_false;
+ if (!main) return F_false;
if (main->program.signal_received) {
- fll_program_print_signal_received(&main->program.warning, main->program.signal_received);
-
main->setting.state.status = F_status_set_error(F_interrupt);
return F_true;