diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2021-06-05 10:36:45 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2021-06-05 10:36:45 -0400 |
commit | dc15c190b4f02448b39fe85778cc5278fca705e4 (patch) | |
tree | 16f66668b5a93885b99cd4869095bdb283d26b69 /pullreqd.c | |
parent | c3808ada2e031b8362ac5326cecd37b7299d981c (diff) |
Fixed a typo in the root fallback code.
Thanks goes to Nova Forte for pointing it out to me.
Diffstat (limited to 'pullreqd.c')
-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. */ |