mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-08 20:58:20 +03:00
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:
parent
7fc04b12e0
commit
404f08d341
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user