]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemctl: is-enabled: document the return code change
authorMike Yuan <me@yhndnzj.com>
Wed, 14 Dec 2022 16:50:19 +0000 (00:50 +0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 14 Dec 2022 22:21:06 +0000 (23:21 +0100)
Follow-up for #25689

We've added a new output ("not-found") in #25689.

man/systemctl.xml

index d6deb6d78a0daaea7f048b583e64519756e1febd..193f6b9800476f4c4b9e488c21cca00c28be291d 100644 (file)
@@ -954,6 +954,11 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err
                     <entry>The unit file is invalid or another error occurred. Note that <command>is-enabled</command> will not actually return this state, but print an error message instead. However the unit file listing printed by <command>list-unit-files</command> might show it.</entry>
                     <entry>&gt; 0</entry>
                   </row>
+                  <row>
+                    <entry><literal>not-found</literal></entry>
+                    <entry>The unit file doesn't exist.</entry>
+                    <entry>4</entry>
+                  </row>
                 </tbody>
               </tgroup>
             </table>