Fix chroot missing
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user