<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2018-08-16 18:51 GMT+02:00 Filipe Brandenburger <span dir="ltr"><<a href="mailto:filbranden@google.com" target="_blank">filbranden@google.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Agreed. In particular, man page for systemctl simply says "on success,<br>
0 is returned, a non-zero failure code otherwise" for exit status. In<br>
other words, the specific non-zero exit codes are undocumented, so<br>
shouldn't be relied upon.<br></blockquote><div><br><div style="font-family: courier\ new, monospace; display: inline;" class="gmail_default">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.</div></div></div><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Cecil Westerhof</div>
</div></div>