Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
* just fork()s away without exec'ing directly after, the socket fd will
* exist in the forked process from the other thread and any close() in
* our own child process will not really cause the socket to close
- * properly, potentially causing the parent to hang.
+ * properly, potentially causing the parent to get stuck.
*
* For this reason, while IPC is still active, we have to use shutdown()
* if the child exits prematurely in order to signal that the socket is
/* reboot 10 times */
for (i = 0; i < 10; i++) {
/* Give the init system some time to setup it's signal handlers
- * otherwise we will hang indefinitely.
+ * otherwise we will wait indefinitely.
*/
sleep(5);
}
/* Give the init system some time to setup it's signal handlers
- * otherwise we will hang indefinitely.
+ * otherwise we will wait indefinitely.
*/
sleep(5);