init: don't srop unterminated processes' entries during inittab reload
authorPaulius Zaleckas <paulius.zaleckas@gmail.com>
Fri, 16 Aug 2013 10:01:58 +0000 (12:01 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 16 Aug 2013 10:01:58 +0000 (12:01 +0200)
commit9f07af6156267f1e3064c14f2bee96560f7ed69d
tree44a3a282fefdb93c2a88df1af185d9b01c91914e
parentd2e07bc16cbd68bc2771f9f163e610e4e327c67c
init: don't srop unterminated processes' entries during inittab reload

This feature was removed in 72c99af

It is useful when process is removed from inittab and later added
back, but never terminated. It prevents init from spawning duplicate.

function                                             old     new   delta
check_delayed_sigs                                   176     182      +6

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
init/init.c