chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf2651b
)
process-util: initialize block_signals
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Wed, 10 Jan 2018 01:22:35 +0000
(10:22 +0900)
committer
Sven Eden
<yamakuzure@gmx.net>
Wed, 30 May 2018 05:50:02 +0000
(07:50 +0200)
CID
1384240
.
src/basic/process-util.c
patch
|
blob
|
history
diff --git
a/src/basic/process-util.c
b/src/basic/process-util.c
index b468429a8ccd1d655d8b436b8aceb9087490f8ee..8c90f666e8358493b09fda6c9797dd4c01eff828 100644
(file)
--- a/
src/basic/process-util.c
+++ b/
src/basic/process-util.c
@@
-1176,7
+1176,7
@@
int safe_fork_full(
pid_t original_pid, pid;
sigset_t saved_ss, ss;
- bool block_signals;
+ bool block_signals
= false
;
int prio, r;
/* A wrapper around fork(), that does a couple of important initializations in addition to mere forking. Always