I believe the errors are based on errno:
http://www.virtsync.com/c-error-codes-include-errno

Return status 3 -> ESRCH -> No such process

On Thu, Aug 16, 2018, 6:27 AM Cecil Westerhof <cldwester...@gmail.com>
wrote:

> 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
> _______________________________________________
> systemd-devel mailing list
> systemd-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
-- 

Ryan (ライアン)
Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else
https://refi64.com/
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to