ifplugd: close signal race

function                                             old     new   delta
ifplugd_main                                        1109    1117      +8

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2018-04-29 13:46:49 +02:00
parent 77bf05dfe3
commit bc2e70b4a2

View File

@ -686,6 +686,8 @@ int ifplugd_main(int argc UNUSED_PARAM, char **argv)
goto exiting;
default:
bb_got_signal = 0;
/* do not clear bb_got_signal if already 0, this can lose signals */
case 0:
break;
}