]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/install.c
shared/install: add forgotten calls to install_changes_add()
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 20 Oct 2022 09:31:41 +0000 (11:31 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 Oct 2022 10:38:28 +0000 (12:38 +0200)
commit81de6962737a7d2817faad1cc2c50511a5972119
treed7c7a4f20353b13947d087023be7d94326d096ab
parent94e7298d309fef7710174def820e9d38e512a086
shared/install: add forgotten calls to install_changes_add()

The machinery to report a good error message only works if the
error was registered with install_changes_add() and a file name. Otherwise
we only get a generic "Op failed: %m" message.

In some places -EINVAL is replaced by -EUCLEAN, so that we get the proper
error message.
src/shared/install.c