Fix chroot missing

This commit is contained in:
2024-05-12 13:53:17 +01:00
parent 746f2750c6
commit 9b97b40889

View File

@@ -12,6 +12,7 @@
int main() {
// Open the FIFO for writing
chroot("/opt/djumbai/");
const char *send_fifo_path = "fifos/send_fifo";
if (access(send_fifo_path, F_OK) != -1) {
// FIFO exists, delete it