diff --git a/src/zm_fifo.cpp b/src/zm_fifo.cpp index e1cb57625..7f737426e 100644 --- a/src/zm_fifo.cpp +++ b/src/zm_fifo.cpp @@ -61,6 +61,7 @@ Fifo::~Fifo() { close(); } bool Fifo::open() { + fifo_create_if_missing(path.c_str()); if (!on_blocking_abort) { if ( (outfile = fopen(path.c_str(), "wb")) == nullptr ) { Error("Can't open %s for writing: %s", path.c_str(), strerror(errno));