summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index e855f68..7fe4d15 100644
--- a/src/main.c
+++ b/src/main.c
@@ -435,6 +435,8 @@ main (int argc,
return EX_USAGE;
}
+ chdir ("/");
+
daemon_handle = ply_create_daemon ();
if (daemon_handle == NULL)