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

Remove unnecessary check that child process was started #129

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

github-actions[bot]
Copy link
Contributor

This is an automatic cherry-pick of d0bd35befba56fb3db35f42e9db7069daa60cf85

The original PR was #222 with message:

Even if the child process dies immediately after being launched, the call to g_child_watch_add() will register a callback that will alert the application of the exit code when the main loop is reached.

In this case, status will briefly change to STATUS_RUNNING before changing to DOCKERD_RUNTIME_ERROR.

Checklist before requesting a review

  • I have performed a self-review of my own code
  • I have verified that the code builds perfectly fine on my local system
  • I have added tests that prove my fix is effective or that my feature works
  • I have commented my code, particularly in hard-to-understand areas
  • I have verified that my code follows the style already available in the repository
  • I have made corresponding changes to the documentation

Even if the child process dies immediately after being launched,
the call to g_child_watch_add() will register a callback that will
alert the application of the exit code when the main loop is reached.

In this case, status will briefly change to STATUS_RUNNING before
changing to DOCKERD_RUNTIME_ERROR.
@github-actions github-actions bot requested review from a team as code owners April 19, 2024 08:47
@killenheladagen killenheladagen merged commit 5dbfba1 into main Apr 19, 2024
@killenheladagen killenheladagen deleted the cherrybot-6781 branch April 19, 2024 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant