chiark / gitweb /
exec: move code executed after fork into exec_child()
authorDaniel Mack <zonque@gmail.com>
Sat, 23 Aug 2014 14:02:21 +0000 (16:02 +0200)
committerDaniel Mack <daniel@zonque.org>
Fri, 5 Sep 2014 10:19:39 +0000 (12:19 +0200)
commitd35fbf6bdf4377f3a15b084ff812b3ee272e5347
treecbe56cf171c438a196d286b2e3048b579afc8b3c
parent9fa95f8539a380e93f760956bc6982e57f5bf3af
exec: move code executed after fork into exec_child()

This factors out one conditional branch that has grown way too big, and
makes the code more readable by using return statements rather than jump
labels.
src/core/execute.c