Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 740558
Collapse All | Expand All

(-)./src/manage.c (-2 / +2 lines)
Lines 3283-3289 Link Here
3283
              {
3283
              {
3284
                g_debug ("%s: Received %s signal.",
3284
                g_debug ("%s: Received %s signal.",
3285
                         __FUNCTION__,
3285
                         __FUNCTION__,
3286
                         sys_siglist[get_termination_signal()]);
3286
                         strsignal(get_termination_signal()));
3287
              }
3287
              }
3288
            if (global_current_report)
3288
            if (global_current_report)
3289
              {
3289
              {
Lines 3305-3311 Link Here
3305
        {
3305
        {
3306
          g_debug ("%s: Received %s signal.",
3306
          g_debug ("%s: Received %s signal.",
3307
                   __FUNCTION__,
3307
                   __FUNCTION__,
3308
                   sys_siglist[get_termination_signal()]);
3308
                   strsignal(get_termination_signal()));
3309
          if (global_current_report)
3309
          if (global_current_report)
3310
            {
3310
            {
3311
              set_report_scan_run_status (global_current_report,
3311
              set_report_scan_run_status (global_current_report,
(-)./src/gvmd.c (-4 / +4 lines)
Lines 922-928 Link Here
922
  if (sigaction (signal, &action, NULL) == -1)
922
  if (sigaction (signal, &action, NULL) == -1)
923
    {
923
    {
924
      g_critical ("%s: failed to register %s handler",
924
      g_critical ("%s: failed to register %s handler",
925
                  __FUNCTION__, sys_siglist[signal]);
925
                  __FUNCTION__, strsignal(termination_signal));
926
      exit (EXIT_FAILURE);
926
      exit (EXIT_FAILURE);
927
    }
927
    }
928
}
928
}
Lines 953-959 Link Here
953
  if (sigaction (signal, &action, NULL) == -1)
953
  if (sigaction (signal, &action, NULL) == -1)
954
    {
954
    {
955
      g_critical ("%s: failed to register %s handler",
955
      g_critical ("%s: failed to register %s handler",
956
                  __FUNCTION__, sys_siglist[signal]);
956
                  __FUNCTION__, strsignal(termination_signal));
957
      exit (EXIT_FAILURE);
957
      exit (EXIT_FAILURE);
958
    }
958
    }
959
}
959
}
Lines 1258-1264 Link Here
1258
      if (termination_signal)
1258
      if (termination_signal)
1259
        {
1259
        {
1260
          g_debug ("Received %s signal",
1260
          g_debug ("Received %s signal",
1261
                   sys_siglist[termination_signal]);
1261
                   strsignal(termination_signal));
1262
          cleanup ();
1262
          cleanup ();
1263
          /* Raise signal again, to exit with the correct return value. */
1263
          /* Raise signal again, to exit with the correct return value. */
1264
          setup_signal_handler (termination_signal, SIG_DFL, 0);
1264
          setup_signal_handler (termination_signal, SIG_DFL, 0);
Lines 1347-1353 Link Here
1347
      if (termination_signal)
1347
      if (termination_signal)
1348
        {
1348
        {
1349
          g_debug ("Received %s signal",
1349
          g_debug ("Received %s signal",
1350
                   sys_siglist[termination_signal]);
1350
                   strsignal(termination_signal));
1351
          cleanup ();
1351
          cleanup ();
1352
          /* Raise signal again, to exit with the correct return value. */
1352
          /* Raise signal again, to exit with the correct return value. */
1353
          setup_signal_handler (termination_signal, SIG_DFL, 0);
1353
          setup_signal_handler (termination_signal, SIG_DFL, 0);
(-)./src/manage_sql.c (-1 / +1 lines)
Lines 18711-18717 Link Here
18711
void
18711
void
18712
manage_cleanup_process_error (int signal)
18712
manage_cleanup_process_error (int signal)
18713
{
18713
{
18714
  g_debug ("Received %s signal", sys_siglist[signal]);
18714
  g_debug ("Received %s signal", strsignal(signal));
18715
  if (sql_is_open ())
18715
  if (sql_is_open ())
18716
    {
18716
    {
18717
      if (current_scanner_task)
18717
      if (current_scanner_task)
(-)./src/gmpd.c (-2 / +1 lines)
Lines 496-503 Link Here
496
        {
496
        {
497
          g_debug ("%s: Received %s signal.",
497
          g_debug ("%s: Received %s signal.",
498
                   __FUNCTION__,
498
                   __FUNCTION__,
499
                   sys_siglist[get_termination_signal()]);
499
                   strsignal(get_termination_signal()));
500
501
          goto client_free;
500
          goto client_free;
502
        }
501
        }
503
502

Return to bug 740558