AxisCommunications / docker-acap

ACAP application to add dockerd to a container capable Axis device
Apache License 2.0
14 stars 3 forks source link

Remove unnecessary check that child process was started #222

Closed killenheladagen closed 5 months ago

killenheladagen commented 5 months ago

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