Change base dir to /djumbai instead of /opt/djumbai
This commit is contained in:
parent
5c28fe0531
commit
21a222d855
6 changed files with 22 additions and 23 deletions
|
|
@ -10,9 +10,9 @@
|
|||
#include <unistd.h>
|
||||
|
||||
int main() {
|
||||
chdir("/opt/djumbai/");
|
||||
if (chroot("/opt/djumbai/") != 0) {
|
||||
perror("chroot /opt/djumbai");
|
||||
chdir("/djumbai/");
|
||||
if (chroot("/djumbai/") != 0) {
|
||||
perror("chroot /djumbai");
|
||||
return 1;
|
||||
}
|
||||
const char *send_fifo_path = "fifos/send_fifo";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue