]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/install: warn about unkown sections in unit files 14111/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 22 Nov 2019 10:59:11 +0000 (11:59 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 25 Nov 2019 15:45:29 +0000 (16:45 +0100)
commitf4331d0db28c75d70f2e8e0c06cc84e5909b4088
tree1d069f3e3c104eaa7df7f412f83a8420bbfc9529
parent130b812f9d682e8dc8b3b85fd58077b3caf0da8e
shared/install: warn about unkown sections in unit files

As in the previous commit, ignoring unkown sections means users may be confused
easily. It is better to warn about misspellt section names.

In this case, we are using a separate item table, so we'd ignore all those
sections anyway, so we could list them with out the minus prefixes and the
effect would be the same. But I think it's clearer to prefix them.
src/shared/install.c