2018-08-16 18:51 GMT+02:00 Filipe Brandenburger <[email protected]>:

> Agreed. In particular, man page for systemctl simply says "on success,
> 0 is returned, a non-zero failure code otherwise" for exit status. In
> other words, the specific non-zero exit codes are undocumented, so
> shouldn't be relied upon.
>

Personally I would say that when asking the status of a non running service
is not a failure, but that does return a 3. So I have to catch that.

-- 
Cecil Westerhof
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to