Skip to content

Commit

Permalink
Merge pull request #25245 from giuseppe/fix-hang-s390x
Browse files Browse the repository at this point in the history
rootless: fix hang on s390x
  • Loading branch information
openshift-merge-bot[bot] authored Feb 6, 2025
2 parents 757c621 + c06dba4 commit 2cbb5fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/rootless/rootless_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 2cbb5fe

Please sign in to comment.