From e0a3d294c48d234a21a1a2403cbe200ae287e82e Mon Sep 17 00:00:00 2001 From: David Lutton Date: Sun, 11 Sep 2016 23:33:21 +0100 Subject: Attempt to create FIFO before open, no checks --- src/dabOutput/dabOutputFifo.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/dabOutput/dabOutputFifo.cpp b/src/dabOutput/dabOutputFifo.cpp index 1bc4d92..decd443 100644 --- a/src/dabOutput/dabOutputFifo.cpp +++ b/src/dabOutput/dabOutputFifo.cpp @@ -74,10 +74,6 @@ int DabOutputFifo::Open(const char* filename) } this->file_ = mkfifo(filename, 0666); - if (this->file_ == -1) { - perror(filename); - return -2; - } this->file_ = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666); if (this->file_ == -1) { perror(filename); -- cgit v1.2.3