mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
Suspicious use of ;
This commit is contained in:
parent
8f96b8908e
commit
a5e5bab74b
@ -338,7 +338,7 @@ static void sigchld_handler(int UNUSED(unused)) {
|
||||
|
||||
const int saved_errno = errno;
|
||||
|
||||
while(waitpid(-1, NULL, WNOHANG) > 0);
|
||||
while(waitpid(-1, NULL, WNOHANG) > 0) {}
|
||||
|
||||
sa_chld.sa_handler = sigchld_handler;
|
||||
sa_chld.sa_flags = SA_NOCLDSTOP;
|
||||
|
Loading…
Reference in New Issue
Block a user