summaryrefslogtreecommitdiff
path: root/man/systemctl.xml
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2022-12-15 00:50:19 +0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-12-14 23:21:06 +0100
commit8f23229cae5f4726860e45ad9da413ea32c004a4 (patch)
treed90378f81e143ab203353604856ec9a11ceac183 /man/systemctl.xml
parent5c6c587ce24096d36826418b5390599d1e5ad55c (diff)
downloadsystemd-8f23229cae5f4726860e45ad9da413ea32c004a4.tar.gz
systemctl: is-enabled: document the return code change
Follow-up for #25689 We've added a new output ("not-found") in #25689.
Diffstat (limited to 'man/systemctl.xml')
-rw-r--r--man/systemctl.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index d6deb6d78a..193f6b9800 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -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>