mirror of
https://github.com/clearlinux/hyperstart.git
synced 2026-08-28 13:25:51 +00:00
pause() in the pod_init loop
Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
This commit is contained in:
+1
-1
@@ -263,7 +263,7 @@ static int hyper_pod_init(void *data)
|
||||
close(arg->ctl_pipe[1]);
|
||||
|
||||
for (;;)
|
||||
; /* infinite loop and handle SIGCHLD */
|
||||
pause(); /* infinite loop and handle SIGCHLD */
|
||||
out:
|
||||
_exit(-1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user