Thanks, wow I'm dumb, I wrote that test very fast and apparently was more tired than I thought I was. Can't believe I missed the fact that I wasn't incrementing that counter. I like the suggestion on the proper way to daemonize. Thanks for the help.
In reply to Re^2: Problems with forking
by mraspberry
in thread Problems with forking
by mraspberry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |