Skip to content

Return an error exit code when failing#1

Open
amcnabb wants to merge 1 commit intomasterfrom
amcnabb-patch-1
Open

Return an error exit code when failing#1
amcnabb wants to merge 1 commit intomasterfrom
amcnabb-patch-1

Conversation

@amcnabb
Copy link
Copy Markdown
Owner

@amcnabb amcnabb commented Aug 7, 2020

The main_loop runs forever, unless there are 10 consecutive read errors ("Too many errors from %s, exiting!"). In this case, main_loop should return an error exit code instead of a success error code.

The main_loop runs forever, unless there are 10 consecutive read errors ("Too many errors from %s, exiting!"). In this case, main_loop should return an error exit code instead of a success error code.
@amcnabb
Copy link
Copy Markdown
Owner Author

amcnabb commented Aug 7, 2020

Note that when Tinc exits with a success exit code, Systemd does not restart the service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant