mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-30 22:54:35 +03:00
8a974ca91a
WIFEXITED() returns a bool, so previously we were setting exited_successfully to true when the service was terminated by a signal, and false if it exited, regardless of the exit status. To test the exit status, we have to use WEXITSTATUS() instead. This causes us to correctly use the "3 tries then give up" logic for services that crash, instead of infinitely attempting to respawn them. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
main.cpp | ||
Service.cpp | ||
Service.h |