naemon/naemon-core — pull request #73 by catharsis (2014-06-30 19:48:44+00:00)
Title: daemon: Abort when failing to chdir()

We don't want to run in daemon mode if we don't know where we're
running. This patch makes sure that our attempt to chdir to / (if we
don't dump core) or $HOME (if we do) is successful. Otherwise, we abort.

Signed-off-by: Anton Lofgren