]> Kevux Git Server - fll/commitdiff
Bugfix: Signal code is not being set when accepted signal is received.
authorKevin Day <thekevinday@gmail.com>
Sat, 2 Jul 2022 03:00:49 +0000 (22:00 -0500)
committerKevin Day <thekevinday@gmail.com>
Sat, 2 Jul 2022 03:00:49 +0000 (22:00 -0500)
level_2/fll_program/c/program.c

index e537e01c9d73751ce3dd326cda5a5933b8ff63ef..bae4a16f73579a5dda9071015ce78c4ea2806394 100644 (file)
@@ -363,6 +363,8 @@ extern "C" {
         case F_signal_interrupt:
         case F_signal_quit:
         case F_signal_termination:
+          main->signal_received = information.ssi_signo;
+
           return information.ssi_signo;
       }
     }