]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/scope.c
pid1: simplify the logic in two statements related to killing processes
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 15 Nov 2016 20:01:40 +0000 (15:01 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 9 Dec 2016 18:53:31 +0000 (13:53 -0500)
commit59ec09a83e426a27252c0fd855b5338db53c8fba
tree313b3c407c5d4c65e3a3cf990a277718f2646914
parentb200489b2b0ebb45be80fc8168be1f0587ae2bcc
pid1: simplify the logic in two statements related to killing processes

Generally non-inverted conditions are nicer, and ternary operators
with complex conditions are a bit hard to read.

No functional change.
src/core/scope.c
src/core/unit.c