Skip to content

Commit

Permalink
Wait for the spawned shell child process
Browse files Browse the repository at this point in the history
resolve a zombie process issue.
  • Loading branch information
everything411 authored Oct 19, 2024
1 parent d976210 commit 36fd1ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shellspawn/shellspawn.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ void listenForConnections(void)
else
{
close(sock);
reapAll();
}
}
}
Expand Down

0 comments on commit 36fd1ee

Please sign in to comment.