chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
udev: allow firmware requests to bypass the dependency tracking
[elogind.git]
/
src
/
core
/
killall.c
diff --git
a/src/core/killall.c
b/src/core/killall.c
index 6fcaf847cfdb75b2126667d40ffdeff22939e5ee..55200ffa4847e2eb8053c51201a451335c094603 100644
(file)
--- a/
src/core/killall.c
+++ b/
src/core/killall.c
@@
-150,7
+150,7
@@
static int killall(int sig) {
return n_processes;
}
return n_processes;
}
-void broadcast_signal(int sig, bool wait) {
+void broadcast_signal(int sig, bool wait
_for_exit
) {
sigset_t mask, oldmask;
int n_processes;
sigset_t mask, oldmask;
int n_processes;
@@
-169,7
+169,7
@@
void broadcast_signal(int sig, bool wait) {
if (n_processes <= 0)
goto finish;
if (n_processes <= 0)
goto finish;
- if (wait)
+ if (wait
_for_exit
)
wait_for_children(n_processes, &mask);
finish:
wait_for_children(n_processes, &mask);
finish: