diff options
| author | arg@mmvi <unknown> | 2006-09-20 09:49:32 +0200 |
|---|---|---|
| committer | arg@mmvi <unknown> | 2006-09-20 09:49:32 +0200 |
| commit | 423093256363aa3d8034bff5c2be38adb7e9cf25 (patch) | |
| tree | b720a65143dfba1a0a5bda41a2b86d6033fa53ef /util.c | |
| parent | fixed a nuance in dwm.1 (diff) | |
| download | dwm-423093256363aa3d8034bff5c2be38adb7e9cf25.tar.gz dwm-423093256363aa3d8034bff5c2be38adb7e9cf25.zip | |
reviewed util.c
Diffstat (limited to 'util.c')
| -rw-r--r-- | util.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -47,7 +47,8 @@ spawn(Arg *arg) { | |||
| 47 | 47 | ||
| 48 | if(!arg->cmd) | 48 | if(!arg->cmd) |
| 49 | return; | 49 | return; |
| 50 | /* the double-fork construct avoids zombie processes */ | 50 | /* The double-fork construct avoids zombie processes and keeps the code |
| 51 | * clean from stupid signal handlers. */ | ||
| 51 | if(fork() == 0) { | 52 | if(fork() == 0) { |
| 52 | if(fork() == 0) { | 53 | if(fork() == 0) { |
| 53 | if(dpy) | 54 | if(dpy) |
