systemctl: always avoid being killed when doing switch-root
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 29 Jan 2017 02:18:31 +0000 (21:18 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 31 Jan 2017 06:34:40 +0000 (01:34 -0500)
commitb3ad0ff48c154ed056a6bded2adac609395a9439
tree5062c3990f2ee1c15a2e90728266ffffc3b2ac9c
parent3ab2feefd7d1918e8f0d0edaea46a87cbed0f211
systemctl: always avoid being killed when doing switch-root

The same logic as described in acc28e2e3037d689d6481e applies to any time we are
switching root, to just set the flag unconditionally.
src/systemctl/systemctl.c