Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

canlogserver: Fix termination after signal #423

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 6, 2023

  1. canlogserver: Fix termination after signal

    With f45de1b, we've removed unsafe function exit(3) from the
    signal handler.  But that made canlogserver's accept(3)ing process not
    exit; It unconditionally keeps running with EINTR.
    
    Check the variable "running" when signaled and exit with an
    appropriate error code.
    
    Fixes: f45de1b ("canlogserver: Follow Bash exit status when signaled")
    
    Signed-off-by: Yasushi SHOJI <[email protected]>
    yashi committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    0d276a1 View commit details
    Browse the repository at this point in the history