Merge pull request #215 from liuchao173/master

add keep_going check to prevent irqbalance from failing to exit after SIGTERM
This commit is contained in:
Neil Horman 2022-06-25 11:38:04 -04:00 committed by GitHub
commit 6c9c7f2093
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ gboolean scan(gpointer data __attribute__((unused)))
/* cope with cpu hotplug -- detected during /proc/interrupts parsing */
while (need_rescan || need_rebuild) {
while (keep_going && (need_rescan || need_rebuild)) {
int try_times = 0;
need_rescan = 0;