kill: add missing ifdefs
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
8e0b90e012
commit
8aab38783a
|
@ -494,12 +494,14 @@ int main(int argc, char **argv)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef UL_HAVE_PIDFD
|
||||
while (!list_empty(&ctl.follow_ups)) {
|
||||
struct timeouts *x = list_entry(ctl.follow_ups.next,
|
||||
struct timeouts, follow_ups);
|
||||
list_del(&x->follow_ups);
|
||||
free(x);
|
||||
}
|
||||
#endif
|
||||
if (ct && nerrs == 0)
|
||||
return EXIT_SUCCESS; /* full success */
|
||||
else if (ct == nerrs)
|
||||
|
|
Loading…
Reference in New Issue