Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit 0858430

Browse files
committed
send signal to all processes in the process group of exec
kill these processes too, they are using the same stdio with exec, causing pae will not been sent out. Signed-off-by: Gao feng <omarapazanadi@gmail.com>
1 parent 3c4448c commit 0858430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ static int hyper_signal_process(struct hyper_pod *pod, char *json, int length)
682682
goto out;
683683
}
684684

685-
kill(exec->pid, (int)json_object_get_number(json_object(value), "signal"));
685+
kill(-exec->pid, (int)json_object_get_number(json_object(value), "signal"));
686686
ret = 0;
687687
out:
688688
json_value_free(value);

0 commit comments

Comments
 (0)