Fix chroot missing
This commit is contained in:
parent
746f2750c6
commit
9b97b40889
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
||||||
int main() {
|
int main() {
|
||||||
|
|
||||||
// Open the FIFO for writing
|
// Open the FIFO for writing
|
||||||
|
chroot("/opt/djumbai/");
|
||||||
const char *send_fifo_path = "fifos/send_fifo";
|
const char *send_fifo_path = "fifos/send_fifo";
|
||||||
if (access(send_fifo_path, F_OK) != -1) {
|
if (access(send_fifo_path, F_OK) != -1) {
|
||||||
// FIFO exists, delete it
|
// FIFO exists, delete it
|
||||||
|
|
Loading…
Reference in a new issue