mirror of
https://github.com/containers/podman.git
synced 2025-10-17 11:14:40 +08:00
Merge pull request #25245 from giuseppe/fix-hang-s390x
rootless: fix hang on s390x
This commit is contained in:
@ -658,7 +658,7 @@ create_pause_process (const char *pause_pid_file_path, char **argv)
|
||||
if (pipe (p) < 0)
|
||||
return -1;
|
||||
|
||||
pid = fork ();
|
||||
pid = syscall_clone (SIGCHLD, NULL);
|
||||
if (pid < 0)
|
||||
{
|
||||
close (p[0]);
|
||||
@ -689,7 +689,7 @@ create_pause_process (const char *pause_pid_file_path, char **argv)
|
||||
close (p[0]);
|
||||
|
||||
setsid ();
|
||||
pid = fork ();
|
||||
pid = syscall_clone (SIGCHLD, NULL);
|
||||
if (pid < 0)
|
||||
_exit (EXIT_FAILURE);
|
||||
|
||||
|
Reference in New Issue
Block a user