Skip to content

Commit

Permalink
Fix create_channel_named_pipe on unix, wrong mod
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsEeleeya committed Jan 3, 2025
1 parent 4d20afd commit ffe3e9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ where

let _ = std::fs::remove_file(&pipe_path);
// Make FIFO if not existing
stat::mkfifo(&pipe_path, stat::Mode::S_IRWXU)
nix::unistd::mkfifo(&pipe_path, stat::Mode::S_IRWXU)
.expect("Failed to create a Unix FIFO with mkfifo()");

tokio::spawn(async move {
Expand Down

0 comments on commit ffe3e9a

Please sign in to comment.