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

Return ExitCode from main #348

Merged
merged 1 commit into from
Sep 2, 2024
Merged

Return ExitCode from main #348

merged 1 commit into from
Sep 2, 2024

Conversation

chenxiaolong
Copy link
Owner

std::process::exit() calls the exit syscall, which doesn't run destructors. It doesn't matter for avbroot, but better to use ExitCode anyway.

std::process::exit() calls the exit syscall, which doesn't run
destructors. It doesn't matter for avbroot, but better to use ExitCode
anyway.

Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
@chenxiaolong chenxiaolong self-assigned this Sep 2, 2024
@chenxiaolong chenxiaolong merged commit 040dcd1 into master Sep 2, 2024
5 checks passed
@chenxiaolong chenxiaolong deleted the exit branch September 2, 2024 02:49
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