Skip to content

Commit

Permalink
clear errors on CTRL-C
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Jan 4, 2025
1 parent 09dc4cc commit e77325e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/radiusd.c
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,7 @@ static void sig_fatal(int sig)
radius_signal_self(RADIUS_SIGNAL_SELF_TERM);
break;
}
fr_strerror_printf(NULL); /* clear old errors */
/* FALL-THROUGH */

default:
Expand Down

0 comments on commit e77325e

Please sign in to comment.