[systemd-devel] Return codes of systemctl (status)

Cecil Westerhof cldwesterhof at gmail.com
Thu Aug 16 11:27:12 UTC 2018


The man page of systemctl says:
    On success, 0 is returned, a non-zero failure code otherwise.

When I do a systemctl status on a service that is not running I get a 3.
What other values can be returned and where do I find those?

-- 
Cecil Westerhof
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180816/6b61ca9f/attachment.html>


More information about the systemd-devel mailing list