]> git.ipfire.org Git - thirdparty/systemd.git/commit
udevadm-control: return early if --exit is used
authorDavid Tardon <dtardon@redhat.com>
Fri, 3 Nov 2023 13:01:54 +0000 (14:01 +0100)
committerDavid Tardon <dtardon@redhat.com>
Fri, 3 Nov 2023 17:44:26 +0000 (18:44 +0100)
commit3bce9d56fd53fbcd6438c2bf219318133795cb56
tree46bbc21b53b8db5ef6bc3c3f136dcd7c81b6f85f
parente4080a6d975bf595c64de4c6f59a3ea7e7d8f68b
udevadm-control: return early if --exit is used

All the following commands would just fail with -ENOANO anyway, hence
there's no point in sending them. And it allows us to shave off some
error handling code.
src/udev/udevadm-control.c