Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
added symbols for different modes
[dwm.git]
/
util.c
diff --git
a/util.c
b/util.c
index
1147133
..
c31d7f9
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-47,7
+47,8
@@
spawn(Arg *arg) {
if(!arg->cmd)
return;
if(!arg->cmd)
return;
- /* the double-fork construct avoids zombie processes */
+ /* The double-fork construct avoids zombie processes and keeps the code
+ * clean from stupid signal handlers. */
if(fork() == 0) {
if(fork() == 0) {
if(dpy)
if(fork() == 0) {
if(fork() == 0) {
if(dpy)