summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lutton <david@dalun.space>2016-09-11 23:33:21 +0100
committerDavid Lutton <david@dalun.space>2016-09-11 23:33:21 +0100
commite0a3d294c48d234a21a1a2403cbe200ae287e82e (patch)
tree481f012e62efc028228a2913094e3008f6c1d700
parent4edbb92086c6e63cc1d4234cdf992f71a0ea2806 (diff)
downloaddabmux-e0a3d294c48d234a21a1a2403cbe200ae287e82e.tar.gz
dabmux-e0a3d294c48d234a21a1a2403cbe200ae287e82e.tar.bz2
dabmux-e0a3d294c48d234a21a1a2403cbe200ae287e82e.zip
Attempt to create FIFO before open, no checks
-rw-r--r--src/dabOutput/dabOutputFifo.cpp4
1 files changed, 0 insertions, 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);