diff options
| author | Anselm R. Garbe <arg@10kloc.org> | 2006-08-28 08:17:27 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <arg@10kloc.org> | 2006-08-28 08:17:27 +0200 |
| commit | a50b15a9e9663b1a7ee11d39ddf246427aecaeef (patch) | |
| tree | aa7fcaf84ab7233d6101fb324ef459e6be2eb4e8 /util.c | |
| parent | applied sanders focus_ patches (diff) | |
| download | dwm-a50b15a9e9663b1a7ee11d39ddf246427aecaeef.tar.gz dwm-a50b15a9e9663b1a7ee11d39ddf246427aecaeef.zip | |
added a comment to spawn
Diffstat (limited to '')
| -rw-r--r-- | util.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -51,6 +51,7 @@ spawn(Arg *arg) | |||
| 51 | 51 | ||
| 52 | if(!arg->cmd) | 52 | if(!arg->cmd) |
| 53 | return; | 53 | return; |
| 54 | /* the double-fork construct avoids zombie processes */ | ||
| 54 | if(fork() == 0) { | 55 | if(fork() == 0) { |
| 55 | if(fork() == 0) { | 56 | if(fork() == 0) { |
| 56 | if(dpy) | 57 | if(dpy) |
