mirror of
https://github.com/systemd/systemd.git
synced 2024-12-26 03:22:00 +03:00
coredump: use for() loop instead of while()
This commit is contained in:
parent
e7f1334f07
commit
aa7530d681
@ -589,7 +589,7 @@ static int get_mount_namespace_leader(pid_t pid, pid_t *container_pid) {
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
while (1) {
|
||||
for (;;) {
|
||||
ino_t parent_mntns;
|
||||
|
||||
r = get_process_ppid(cpid, &ppid);
|
||||
|
Loading…
Reference in New Issue
Block a user