Fix makefile and fifo path
This commit is contained in:
parent
9b97b40889
commit
b1b05057c8
3 changed files with 15 additions and 11 deletions
|
|
@ -13,7 +13,7 @@ int main() {
|
|||
|
||||
// Open the FIFO for writing
|
||||
chroot("/opt/djumbai/");
|
||||
const char *send_fifo_path = "fifos/send_fifo";
|
||||
const char *send_fifo_path = "/opt/djumbai/fifos/send_fifo";
|
||||
if (access(send_fifo_path, F_OK) != -1) {
|
||||
// FIFO exists, delete it
|
||||
if (unlink(send_fifo_path) == -1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue