Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jrockway
on Aug 21, 2014
|
parent
|
context
|
favorite
| on:
fork() can fail
I chdir("/") before daemonizing so that the filesystem the process was using as its cwd can be unmounted :)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: