qinyu 9ba312d482 bugfix:fix potential dead loop when parsing interrupts
when parsing /proc/interrupts and if a chip name start with numbers,
current procedure would consider those  numbers as interrupt count thus
lead to miscount. Failed parsing would trigger new parsing and cause
dead loop which can't be stopped by SIGINT and SIGTERM. So fix this
by adding signal checks in loop.

Signed-off-by: qinyu <qinyu32@huawei.com>
2022-07-12 14:34:26 +08:00
2021-04-09 14:58:29 +08:00
2022-07-07 11:10:08 +08:00
2021-04-09 14:58:29 +08:00
2021-04-09 14:58:29 +08:00
2020-07-06 11:08:44 +08:00
Description
No description provided
591 KiB
Languages
Shell 100%