systemctl: is-enabled: document the return code change

Follow-up for #25689

We've added a new output ("not-found") in #25689.
This commit is contained in:
Mike Yuan
2022-12-15 00:50:19 +08:00
committed by Zbigniew Jędrzejewski-Szmek
parent 5c6c587ce2
commit 8f23229cae

View 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>