]> git.ipfire.org Git - thirdparty/systemd.git/commit
systemctl: refuse online-only ops with --root
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 30 Apr 2020 12:26:36 +0000 (14:26 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 5 May 2020 16:05:23 +0000 (18:05 +0200)
commit4cb1015e6b815f72ae7ba4b04d8e7f856e9c51fe
tree08a3fba090d4bd1b457be8040024a60cf85fbc4c
parent9321e23c40f3dc6bd785105ce882cbad6447a1c6
systemctl: refuse online-only ops with --root

It is super confusing when a command does not support --root, and is called
with it specified, and returns some bogus results. Let's just catch this
early and refuse.
src/systemctl/systemctl.c