diff options
author | David Lutton <david@dalun.space> | 2016-09-11 23:33:21 +0100 |
---|---|---|
committer | David Lutton <david@dalun.space> | 2016-09-11 23:33:21 +0100 |
commit | e0a3d294c48d234a21a1a2403cbe200ae287e82e (patch) | |
tree | 481f012e62efc028228a2913094e3008f6c1d700 /src | |
parent | 4edbb92086c6e63cc1d4234cdf992f71a0ea2806 (diff) | |
download | dabmux-e0a3d294c48d234a21a1a2403cbe200ae287e82e.tar.gz dabmux-e0a3d294c48d234a21a1a2403cbe200ae287e82e.tar.bz2 dabmux-e0a3d294c48d234a21a1a2403cbe200ae287e82e.zip |
Attempt to create FIFO before open, no checks
Diffstat (limited to 'src')
-rw-r--r-- | src/dabOutput/dabOutputFifo.cpp | 4 |
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); |