diff --git a/src/tini.c b/src/tini.c index d0a02e5..69e0bea 100644 --- a/src/tini.c +++ b/src/tini.c @@ -611,6 +611,12 @@ void maybe_unix_cb() { goto error; } + PRINT_INFO("Waiting to receive message from titus-executor before launching\n"); + if (recv(sockfd, data, 1, 0) == -1) { + PRINT_FATAL("Unable to recv start message from socket: '%s'", strerror(errno)); + } + PRINT_INFO("Clear to start\n"); + return; error: