From b09fe1d17c2ad8687df4662750e7f0cc1f2b86f8 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 1 Mar 2021 16:43:51 -0500 Subject: [PATCH] Create fifo if it doesn't exist already --- src/zm_fifo.cpp | 1 + 1 file changed, 1 insertion(+) 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));