systemctl: add a comment that clarifies why we do "return r" at the end of main()

To avoid confusion as outlined in #1845.
This commit is contained in:
Lennart Poettering 2015-11-11 12:57:40 +01:00
parent 7fc04b12e0
commit 404f08d341

View file

@ -7709,5 +7709,7 @@ finish:
release_busses();
/* Note that we return r here, not EXIT_SUCCESS, so that we can implement the LSB-like return codes */
return r < 0 ? EXIT_FAILURE : r;
}