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:
commit
6c9c7f2093
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue