mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
main-ctl-handler.c
when disconnecting IDs and ID==-1 then continue looping until all zombies have been cleaned up.
This commit is contained in:
@@ -832,7 +832,8 @@ static void method_disconnect_user_id(main_server_st * s, DBusConnection * conn,
|
||||
if (ctmp->pid == id) {
|
||||
remove_proc(s, ctmp, 1);
|
||||
status = 1;
|
||||
break;
|
||||
if (id != -1)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user