diff options
-rw-r--r-- | pullreqd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ void init_daemon(int change_dir, char *path) { * the root directory if path isn't set. */ if (change_dir) { - chdir((!path) ? path : "/"); + chdir((!path) ? "/" : path); } /* Close any open file descriptors. */ |