]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tmpfiles: fix documented constant for exit code 73
authorWill Thompson <will@willthompson.co.uk>
Tue, 22 May 2018 14:56:53 +0000 (15:56 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 22 May 2018 16:35:34 +0000 (18:35 +0200)
sysexits.h has:

    #define EX_CANTCREAT 73 /* can't create (user) output file */

EX_DATAERR is a copy-paste error from the previous sentence, which is
correct.

man/systemd-tmpfiles.xml

index f8a289eba331e9daaa3d8d0db724c719c0025468..3ef3fa28706f9829b1349f5fa402d8e8a67f4145 100644 (file)
     <filename>/usr/include/sysexits.h</filename>). If the configuration was syntactically valid, but
     could not be executed (lack of permissions, creation of files in missing directories, invalid
     contents when writing to <filename>/sys/</filename> values, …), <constant>73</constant> is
-    returned (<constant>EX_DATAERR</constant> from <filename>/usr/include/sysexits.h</filename>).
+    returned (<constant>EX_CANTCREAT</constant> from <filename>/usr/include/sysexits.h</filename>).
     Otherwise, <constant>1</constant> is returned (<constant>EXIT_FAILURE</constant> from
     <filename>/usr/include/stdlib.h</filename>).
     </para>