2018-08-16 18:51 GMT+02:00 Filipe Brandenburger <filbran...@google.com>:

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

Reply via email to