Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix chroot with new REST behaviour. - geomyidae - A small C-based gopherd.
git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri…
Log
Files
Refs
Tags
README
LICENSE
---
commit 2ebea55275912a6228d36ad4e6715031924fa6dd
parent e84010e9ac00d6d65a94aecef51e45fc397d9099
Author: Christoph Lohmann <[email protected]>
Date: Fri, 8 Apr 2022 19:06:24 +0200
Fix chroot with new REST behaviour.
Diffstat:
M main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/main.c b/main.c
@@ -781,7 +781,7 @@ main(int argc, char *argv[])
perror("chdir");
return 1;
}
- base = "";
+ base = "/";
if (chroot(".") < 0) {
perror("chroot");
return 1;
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.