]> git.ipfire.org Git - thirdparty/systemd.git/commit
tmpfiles: add a special return code for syntax failures
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 22 Nov 2017 13:13:32 +0000 (14:13 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 1 Dec 2017 17:58:54 +0000 (18:58 +0100)
commitd9daae55d5d7d7cfe4edcc70fb120f28d5ba5dc5
tree75d3e35082861b28f15ac7716ce62c50feb3e295
parent1a2d4d70845f483bcb3f704fa092f5fd76580d31
tmpfiles: add a special return code for syntax failures

In this way, individual errors in files can be treated differently than a
failure of the whole service.

A test is added to check that the expected value is returned.
Some parts are commented out, because it is not. This will be fixed in
a subsequent commit.
man/systemd-tmpfiles.xml
meson.build
src/test/meson.build
src/test/test-systemd-tmpfiles.py [new file with mode: 0755]
src/tmpfiles/tmpfiles.c