child_process: remove empty if condition
This commit replaces an empty if-else-if with a single if condition.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
child_process