fix signal sending in lxc.init
fix signal sending in lxc.init

The problem here is that these two clauses were ordered backwards: we first
check if the signal came from not the init pid, and if it did, then we give
a notice and return. The comment notes that this is intended to protect
against SIGCHLD, but we don't in fact know if the signal is a SIGCHLD yet,
because that's tested in the next hunk.

The symptom is that if I e.g. send SIGTERM from the outside world to the
container init, it ignores it and gives this notice. If we re-order these
clauses, it forwards non SIGCHLD signals, and ignores SIGCHLD signals from
things that aren't the real container process.

Signed-off-by: Tycho Andersen <6b523322678240882acbb4da5312a12d8cd0082d@tycho.ws>

hallyn/lxc,caglar10ur/lxc,thmo/lxc,caglar10ur/lxc,ss1h2a3tw/lxc,thmo/lxc,hallyn/lxc,thmo/lxc,hallyn/lxc,caglar10ur/lxc,ss1h2a3tw/lxc,ss1h2a3tw/lxc